diff options
author | megamage <none@none> | 2009-08-23 22:09:43 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-23 22:09:43 -0500 |
commit | 1ee90e1022a235859316e55356ea8a3d2f456c9b (patch) | |
tree | b3db14f5e81ac865bb3fe92158b8837eb9b0ca5f /src/game/SpellHandler.cpp | |
parent | e71f5e474e2d935f2bfd8520dbf62a6f4b552a18 (diff) |
*Update vehicle system. Make vehicle a seperate class from creature.
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellHandler.cpp')
-rw-r--r-- | src/game/SpellHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellHandler.cpp b/src/game/SpellHandler.cpp index 500947a321c..d93716de0af 100644 --- a/src/game/SpellHandler.cpp +++ b/src/game/SpellHandler.cpp @@ -515,8 +515,8 @@ void WorldSession::HandleSpellClick( WorldPacket & recv_data ) } } - if(unit->isVehicle()) - _player->EnterVehicle((Vehicle*)unit); + if(unit->IsVehicle()) + _player->EnterVehicle(unit); unit->AI()->DoAction(EVENT_SPELLCLICK); } |