summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-10-18 18:59:11 +0200
committerGitHub <noreply@github.com>2020-10-18 18:59:11 +0200
commit10758088efca8427433fb97e26bffe0426cb680b (patch)
tree2f189c0e5df5c3640701b1450e13ade7b6c7ef76 /src/peds
parentMerge pull request #763 from theR4K/miami (diff)
parentMiami Glass (diff)
downloadre3-10758088efca8427433fb97e26bffe0426cb680b.tar
re3-10758088efca8427433fb97e26bffe0426cb680b.tar.gz
re3-10758088efca8427433fb97e26bffe0426cb680b.tar.bz2
re3-10758088efca8427433fb97e26bffe0426cb680b.tar.lz
re3-10758088efca8427433fb97e26bffe0426cb680b.tar.xz
re3-10758088efca8427433fb97e26bffe0426cb680b.tar.zst
re3-10758088efca8427433fb97e26bffe0426cb680b.zip
Diffstat (limited to 'src/peds')
-rw-r--r--src/peds/Ped.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp
index 26147667..82298e74 100644
--- a/src/peds/Ped.cpp
+++ b/src/peds/Ped.cpp
@@ -14,6 +14,7 @@
#include "AnimBlendClumpData.h"
#include "AnimBlendAssociation.h"
#include "Fire.h"
+#include "Glass.h"
#include "DMAudio.h"
#include "General.h"
#include "SurfaceTable.h"
@@ -5865,7 +5866,7 @@ CPed::FightStrike(CVector &touchedNodePos, bool fightWithWeapon)
if (m_fightState == FIGHTSTATE_JUST_ATTACKED)
return false;
- // TODO(Miami): BreakGlassPhysically
+ CGlass::BreakGlassPhysically(touchedNodePos, radius);
for (int i = 0; i < m_numNearPeds; i++) {
int8 pedFound = 0;