summaryrefslogtreecommitdiffstats
path: root/src/peds
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-10-14 23:33:57 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-10-14 23:33:57 +0200
commite4ac934dbf57392c2b231f32d4f101bb9a183a51 (patch)
tree615f44c68ff0c174135eefc1b2279d46de45f864 /src/peds
parentMerge pull request #753 from majesticCoding/miami (diff)
downloadre3-e4ac934dbf57392c2b231f32d4f101bb9a183a51.tar
re3-e4ac934dbf57392c2b231f32d4f101bb9a183a51.tar.gz
re3-e4ac934dbf57392c2b231f32d4f101bb9a183a51.tar.bz2
re3-e4ac934dbf57392c2b231f32d4f101bb9a183a51.tar.lz
re3-e4ac934dbf57392c2b231f32d4f101bb9a183a51.tar.xz
re3-e4ac934dbf57392c2b231f32d4f101bb9a183a51.tar.zst
re3-e4ac934dbf57392c2b231f32d4f101bb9a183a51.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 c5b19241..492d19b5 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;