diff options
author | aap <aap@papnet.eu> | 2020-05-22 23:58:59 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-22 23:58:59 +0200 |
commit | a1e4b15bcc93fa814a63e1b6ccdca50197874e5c (patch) | |
tree | f54f09c8a5f002d64ed81a2f6a7e9024d9028612 /src/entities | |
parent | CPhysical (diff) | |
parent | Merge pull request #576 from Nick007J/miami (diff) | |
download | re3-a1e4b15bcc93fa814a63e1b6ccdca50197874e5c.tar re3-a1e4b15bcc93fa814a63e1b6ccdca50197874e5c.tar.gz re3-a1e4b15bcc93fa814a63e1b6ccdca50197874e5c.tar.bz2 re3-a1e4b15bcc93fa814a63e1b6ccdca50197874e5c.tar.lz re3-a1e4b15bcc93fa814a63e1b6ccdca50197874e5c.tar.xz re3-a1e4b15bcc93fa814a63e1b6ccdca50197874e5c.tar.zst re3-a1e4b15bcc93fa814a63e1b6ccdca50197874e5c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/entities/Physical.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/Physical.cpp b/src/entities/Physical.cpp index 3821c736..ec9f3f33 100644 --- a/src/entities/Physical.cpp +++ b/src/entities/Physical.cpp @@ -590,7 +590,7 @@ CPhysical::ApplyCollision(CPhysical *B, CColPoint &colpoint, float &impulseA, fl CGlass::WindowRespondsToCollision(B, impulseA, A->m_vecMoveSpeed, colpoint.point, false); else if(!B->bInfiniteMass){ B->bIsStatic = false; - CWorld::Players[CWorld::PlayerInFocus].m_nHavocCaused += 2; + CWorld::Players[CWorld::PlayerInFocus].m_nHavocLevel += 2; CStats::PropertyDestroyed += CGeneral::GetRandomNumberInRange(30, 60); } }else{ |