summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2019-10-17 16:28:24 +0200
committerSergeanur <s.anureev@yandex.ua>2019-10-17 16:28:24 +0200
commit3ff7fc835568a6a13ba70bcc1f4238b33ad30b8c (patch)
tree63791dc7fd3ff7b4ce29b3b68e1ed6118cd183fb
parentFixed train sounds not working (diff)
downloadre3-3ff7fc835568a6a13ba70bcc1f4238b33ad30b8c.tar
re3-3ff7fc835568a6a13ba70bcc1f4238b33ad30b8c.tar.gz
re3-3ff7fc835568a6a13ba70bcc1f4238b33ad30b8c.tar.bz2
re3-3ff7fc835568a6a13ba70bcc1f4238b33ad30b8c.tar.lz
re3-3ff7fc835568a6a13ba70bcc1f4238b33ad30b8c.tar.xz
re3-3ff7fc835568a6a13ba70bcc1f4238b33ad30b8c.tar.zst
re3-3ff7fc835568a6a13ba70bcc1f4238b33ad30b8c.zip
-rw-r--r--src/audio/sampman.cpp3
-rw-r--r--src/core/Wanted.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/audio/sampman.cpp b/src/audio/sampman.cpp
index de222493..9bb2687d 100644
--- a/src/audio/sampman.cpp
+++ b/src/audio/sampman.cpp
@@ -1280,9 +1280,8 @@ cSampleManager::Terminate(void)
bool
cSampleManager::CheckForAnAudioFileOnCD(void)
{
- char filepath[MAX_PATH];
-
#if !defined(GTA3_STEAM_PATCH) && !defined(NO_CDCHECK)
+ char filepath[MAX_PATH];
#if defined(GTA3_1_1_PATCH)
if (_bUseHDDAudio)
diff --git a/src/core/Wanted.h b/src/core/Wanted.h
index 1303365d..15bff1a5 100644
--- a/src/core/Wanted.h
+++ b/src/core/Wanted.h
@@ -43,7 +43,7 @@ class CWanted
public:
int32 m_nChaos;
int32 m_nLastUpdateTime;
- int32 m_nLastWantedLevelChange;
+ uint32 m_nLastWantedLevelChange;
float m_fCrimeSensitivity;
uint8 m_CurrentCops;
uint8 m_MaxCops;