summaryrefslogtreecommitdiff
path: root/src/game-server/trigger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/trigger.cpp')
-rw-r--r--src/game-server/trigger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/trigger.cpp b/src/game-server/trigger.cpp
index 469fb544..4e593f4f 100644
--- a/src/game-server/trigger.cpp
+++ b/src/game-server/trigger.cpp
@@ -28,7 +28,7 @@
void WarpAction::process(Object *obj)
{
- if (obj->getType() == OBJECT_PLAYER)
+ if (obj->getType() == OBJECT_CHARACTER)
{
DelayedEvent e = { EVENT_WARP, mMap, mX, mY };
gameState->enqueueEvent(obj, e);