*Update vehicle system. Make vehicle a seperate class from creature.
--HG-- branch : trunk
This commit is contained in:
1 parent
e71f5e474e
commit
1ee90e1022
42 files changed
+451
-579
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user