diff options
author | megamage <none@none> | 2009-03-14 09:24:59 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-03-14 09:24:59 -0600 |
commit | d90d0002e3e07e78730b6feafbeb583999961858 (patch) | |
tree | dd09948907868b932971d22105bb2253d51979af /src/game/Player.cpp | |
parent | 076ccce8c16b60f84f635cdb85795aba63c0c863 (diff) | |
parent | c9874ee715480b41881704d40cc26f72562d5836 (diff) |
*Merge.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r-- | src/game/Player.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 68bb5628887..61968fae0c4 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -20308,7 +20308,10 @@ void Player::EnterVehicle(Vehicle *vehicle) data << uint32(0x00000000); data << uint32(0x00000101); - for(uint32 i = 0; i < 10; ++i) + for(uint32 i = 0; i < CREATURE_MAX_SPELLS; ++i) + data << uint16(vehicle->m_spells[i]) << uint8(0) << uint8(i+8); + + for(uint32 i = CREATURE_MAX_SPELLS; i < 10; ++i) data << uint16(0) << uint8(0) << uint8(i+8); data << uint8(0); |