mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Fix hit effect for skeletons and mummies
This commit is contained in:
parent
88991e6cae
commit
ba368be4b7
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
#include "Game/control/volume.h"
|
||||
#include "Game/effects/effects.h"
|
||||
#include "Game/effects/item_fx.h"
|
||||
#include "Game/effects/tomb4fx.h"
|
||||
#include "Game/Lara/lara.h"
|
||||
#include "Game/Lara/lara_helpers.h"
|
||||
#include "Game/savegame.h"
|
||||
|
@ -858,7 +859,7 @@ void DefaultItemHit(ItemInfo& target, ItemInfo& source, std::optional<GameVector
|
|||
break;
|
||||
|
||||
case HitEffect::Smoke:
|
||||
TriggerRicochetSpark(pos.value(), source.Pose.Orientation.y, 3, -5);
|
||||
TriggerShatterSmoke(pos.value().x, pos.value().y, pos.value().z);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue