*Fix the bug that all vehicles are broken.
--HG-- branch : trunk
This commit is contained in:
1 parent
e20e65ced9
commit
297498f1f7
6 files changed
+9
-15
No files matched your search
@@ -718,7 +718,7 @@ bool ChatHandler::HandleDebugEnterVehicle(const char * args)
|
||||
if(!passenger || passenger == target)
|
||||
return false;
|
||||
|
||||
((Vehicle*)target)->AddPassenger(passenger);
|
||||
passenger->EnterVehicle(target);
|
||||
|
||||
PSendSysMessage("Creature entered vehicle");
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user