aboutsummaryrefslogtreecommitdiff
path: root/src/game/Debugcmds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Debugcmds.cpp')
-rw-r--r--src/game/Debugcmds.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Debugcmds.cpp b/src/game/Debugcmds.cpp
index 1febf06638c..b15d717bfe3 100644
--- a/src/game/Debugcmds.cpp
+++ b/src/game/Debugcmds.cpp
@@ -718,7 +718,7 @@ bool ChatHandler::HandleDebugEnterVehicle(const char * args)
if(!passenger || passenger == target)
return false;
- passenger->EnterVehicle(target);
+ passenger->EnterVehicle((Vehicle*)target);
PSendSysMessage("Creature entered vehicle");
return true;