aboutsummaryrefslogtreecommitdiff
path: root/src/game/MiscHandler.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-03-28 22:44:09 -0600
committermegamage <none@none>2009-03-28 22:44:09 -0600
commit783e4fd3ff077b3023046f407a99552c109ef486 (patch)
treef7f3c5c33ed75603e077e43ae9c3e9f56b5be4c0 /src/game/MiscHandler.cpp
parent3a485c658d9003aaaa4bd8e99dfebb9e7f0ec862 (diff)
*Add new creature_template column VehicleId
*Allow spawn vehicles *Make vehicles grid objects. --HG-- branch : trunk
Diffstat (limited to 'src/game/MiscHandler.cpp')
-rw-r--r--src/game/MiscHandler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/MiscHandler.cpp b/src/game/MiscHandler.cpp
index 44ae9cbb732..7b1a3731d16 100644
--- a/src/game/MiscHandler.cpp
+++ b/src/game/MiscHandler.cpp
@@ -1632,7 +1632,10 @@ void WorldSession::HandleSpellClick( WorldPacket & recv_data )
Vehicle *vehicle = ObjectAccessor::GetVehicle(guid);
if(!vehicle)
+ {
+ sLog.outError("Player %s cannot find vehicle %u", _player->GetName(), guid);
return;
+ }
_player->EnterVehicle(vehicle);
}