1
This commit is contained in:
parent
cfc8789c70
commit
ca380e32df
@ -1686,8 +1686,8 @@ void Player::UpdateThrowBomb()
|
||||
0,
|
||||
true
|
||||
);
|
||||
DecInventory(slot_id, 1);
|
||||
SyncVolume(slot_id);
|
||||
DecInventory(equip_meta->_inventory_slot(), 1);
|
||||
SyncVolume(equip_meta->_inventory_slot());
|
||||
glm::vec3 bomb_pos = glm::vec3(
|
||||
throw_bomb->pos().x(),
|
||||
throw_bomb->pos().y(),
|
||||
@ -1698,6 +1698,7 @@ void Player::UpdateThrowBomb()
|
||||
throw_bomb->dir().y(),
|
||||
throw_bomb->dir().z()
|
||||
);
|
||||
SetAttackDir(bomb_dir);
|
||||
int throw_uniid = room->AllocUniid();
|
||||
room->frame_event.AddBullet
|
||||
(
|
||||
|
Loading…
x
Reference in New Issue
Block a user