summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-20 22:52:17 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-20 22:52:17 +0200
commit3405cfffb76b1e0b7511e2fc394c0121f4aa43a8 (patch)
tree8dad775ddd1bc46c307aa6d41d9d7d1a02f0406d /src/audio
parentscript fix (diff)
downloadre3-3405cfffb76b1e0b7511e2fc394c0121f4aa43a8.tar
re3-3405cfffb76b1e0b7511e2fc394c0121f4aa43a8.tar.gz
re3-3405cfffb76b1e0b7511e2fc394c0121f4aa43a8.tar.bz2
re3-3405cfffb76b1e0b7511e2fc394c0121f4aa43a8.tar.lz
re3-3405cfffb76b1e0b7511e2fc394c0121f4aa43a8.tar.xz
re3-3405cfffb76b1e0b7511e2fc394c0121f4aa43a8.tar.zst
re3-3405cfffb76b1e0b7511e2fc394c0121f4aa43a8.zip
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/sampman_miles.cpp4
-rw-r--r--src/audio/sampman_oal.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/audio/sampman_miles.cpp b/src/audio/sampman_miles.cpp
index ad2c512f..d625ac35 100644
--- a/src/audio/sampman_miles.cpp
+++ b/src/audio/sampman_miles.cpp
@@ -1445,7 +1445,7 @@ cSampleManager::IsSampleBankLoaded(uint8 nBank)
bool
cSampleManager::IsPedCommentLoaded(uint32 nComment)
{
- uint8 slot;
+ int8 slot;
for ( int32 i = 0; i < _TODOCONST(3); i++ )
{
@@ -1464,7 +1464,7 @@ cSampleManager::IsPedCommentLoaded(uint32 nComment)
int32
cSampleManager::_GetPedCommentSlot(uint32 nComment)
{
- uint8 slot;
+ int8 slot;
for ( int32 i = 0; i < _TODOCONST(3); i++ )
{
diff --git a/src/audio/sampman_oal.cpp b/src/audio/sampman_oal.cpp
index f16afbba..f6f3a393 100644
--- a/src/audio/sampman_oal.cpp
+++ b/src/audio/sampman_oal.cpp
@@ -775,7 +775,7 @@ cSampleManager::IsPedCommentLoaded(uint32 nComment)
{
ASSERT( nComment < TOTAL_AUDIO_SAMPLES );
- uint8 slot;
+ int8 slot;
for ( int32 i = 0; i < _TODOCONST(3); i++ )
{
@@ -795,7 +795,7 @@ cSampleManager::IsPedCommentLoaded(uint32 nComment)
int32
cSampleManager::_GetPedCommentSlot(uint32 nComment)
{
- uint8 slot;
+ int8 slot;
for (int32 i = 0; i < _TODOCONST(3); i++)
{