diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-11-07 13:39:53 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-11-07 13:39:53 +0100 |
commit | 7ede8685ecd432aea1379d2377bdecc3159a2c79 (patch) | |
tree | cbbac72ea0a55b65bd7dda3b4be356e5391c1503 /src/peds | |
parent | Sfx audio logic (diff) | |
download | re3-7ede8685ecd432aea1379d2377bdecc3159a2c79.tar re3-7ede8685ecd432aea1379d2377bdecc3159a2c79.tar.gz re3-7ede8685ecd432aea1379d2377bdecc3159a2c79.tar.bz2 re3-7ede8685ecd432aea1379d2377bdecc3159a2c79.tar.lz re3-7ede8685ecd432aea1379d2377bdecc3159a2c79.tar.xz re3-7ede8685ecd432aea1379d2377bdecc3159a2c79.tar.zst re3-7ede8685ecd432aea1379d2377bdecc3159a2c79.zip |
Diffstat (limited to 'src/peds')
-rw-r--r-- | src/peds/Ped.cpp | 2 | ||||
-rw-r--r-- | src/peds/Ped.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/Ped.cpp b/src/peds/Ped.cpp index 15eb79b6..3a04b196 100644 --- a/src/peds/Ped.cpp +++ b/src/peds/Ped.cpp @@ -522,7 +522,7 @@ CPed::CPed(uint32 pedType) : m_pedIK(this) m_delayedSoundID = -1; m_delayedSoundTimer = 0; CPopulation::UpdatePedCount((ePedType)m_nPedType, false); - m_lastComment = -1; + m_lastComment = UINT32_MAX; } // --MIAMI: Done diff --git a/src/peds/Ped.h b/src/peds/Ped.h index aa0a69db..6fc9ab67 100644 --- a/src/peds/Ped.h +++ b/src/peds/Ped.h @@ -646,7 +646,7 @@ public: uint16 m_lastQueuedSound; uint16 m_queuedSound; bool m_canTalk; - int32 m_lastComment; + uint32 m_lastComment; CVector m_vecSeekPosEx; // used for OBJECTIVE_GUARD_SPOT float m_distanceToCountSeekDoneEx; // used for OBJECTIVE_GUARD_SPOT |