summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;