summaryrefslogtreecommitdiffstats
path: root/src/audio/sampman.cpp
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2019-11-09 16:17:54 +0100
committereray orçunus <erayorcunus@gmail.com>2019-11-12 23:16:23 +0100
commit030f64daf106d75c4dc058d3799483a2e79c5e6b (patch)
treedb6355ac25253a21eb18435f2fae612045903f9a /src/audio/sampman.cpp
parentMerge pull request #263 from Sergeanur/strcmp (diff)
downloadre3-030f64daf106d75c4dc058d3799483a2e79c5e6b.tar
re3-030f64daf106d75c4dc058d3799483a2e79c5e6b.tar.gz
re3-030f64daf106d75c4dc058d3799483a2e79c5e6b.tar.bz2
re3-030f64daf106d75c4dc058d3799483a2e79c5e6b.tar.lz
re3-030f64daf106d75c4dc058d3799483a2e79c5e6b.tar.xz
re3-030f64daf106d75c4dc058d3799483a2e79c5e6b.tar.zst
re3-030f64daf106d75c4dc058d3799483a2e79c5e6b.zip
Diffstat (limited to '')
-rw-r--r--src/audio/sampman.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio/sampman.cpp b/src/audio/sampman.cpp
index c9b4cb32..9c79e1b1 100644
--- a/src/audio/sampman.cpp
+++ b/src/audio/sampman.cpp
@@ -35,7 +35,7 @@ int32 _nSampleDataEndOffset;
int32 nPedSlotSfx [MAX_PEDSFX];
int32 nPedSlotSfxAddr[MAX_PEDSFX];
-int32 nCurrentPedSlot;
+uint8 nCurrentPedSlot;
uint8 nChannelVolume[MAXCHANNELS+MAX2DCHANNELS];
@@ -1437,7 +1437,7 @@ cSampleManager::IsSampleBankLoaded(uint8 nBank)
bool
cSampleManager::IsPedCommentLoaded(uint32 nComment)
{
- int32 slot;
+ uint8 slot;
for ( int32 i = 0; i < _TODOCONST(3); i++ )
{
@@ -1452,7 +1452,7 @@ cSampleManager::IsPedCommentLoaded(uint32 nComment)
int32
cSampleManager::_GetPedCommentSlot(uint32 nComment)
{
- int32 slot;
+ uint8 slot;
for ( int32 i = 0; i < _TODOCONST(3); i++ )
{