*Add new creature_template column VehicleId

*Allow spawn vehicles
*Make vehicles grid objects.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-03-28 22:44:09 -06:00
1 parent 3a485c658d
commit 783e4fd3ff
13 files changed
+132 -12

No files matched your search

+3
View File
@@ -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);
}