aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/Player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 472a5017b35..b6e996f050c 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -18186,7 +18186,7 @@ void Player::VehicleSpellInitialize()
data << uint16(0) << uint8(0) << uint8(i+8);
}
else
- data << uint16(spellId) << uint8(0) << uint8(i+8);
+ data << uint32(MAKE_UNIT_ACTION_BUTTON(spellId,i+8));
}
for (uint32 i = CREATURE_MAX_SPELLS; i < MAX_SPELL_CONTROL_BAR; ++i)