diff options
Diffstat (limited to 'src/game/Debugcmds.cpp')
-rw-r--r-- | src/game/Debugcmds.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Debugcmds.cpp b/src/game/Debugcmds.cpp index 7def90fe5f4..f93c8e22374 100644 --- a/src/game/Debugcmds.cpp +++ b/src/game/Debugcmds.cpp @@ -797,7 +797,7 @@ bool ChatHandler::HandleDebugSpawnVehicle(const char* args) return false; } - map->Add((Creature*)v); + map->Add(v->ToCreature()); return true; } |