mirror of
https://github.com/halpz/re3.git
synced 2025-06-30 02:26:22 +00:00
some fixes
This commit is contained in:
@ -1449,7 +1449,11 @@ cSampleManager::IsPedCommentLoaded(uint32 nComment)
|
||||
|
||||
for ( int32 i = 0; i < _TODOCONST(3); i++ )
|
||||
{
|
||||
#ifdef FIX_BUGS
|
||||
slot = (nCurrentPedSlot - i - 1) % ARRAY_SIZE(nPedSlotSfx);
|
||||
#else
|
||||
slot = nCurrentPedSlot - i - 1;
|
||||
#endif
|
||||
if ( nComment == nPedSlotSfx[slot] )
|
||||
return true;
|
||||
}
|
||||
|
@ -779,7 +779,11 @@ cSampleManager::IsPedCommentLoaded(uint32 nComment)
|
||||
|
||||
for ( int32 i = 0; i < _TODOCONST(3); i++ )
|
||||
{
|
||||
#ifdef FIX_BUGS
|
||||
slot = (nCurrentPedSlot - i - 1) % ARRAY_SIZE(nPedSlotSfx);
|
||||
#else
|
||||
slot = nCurrentPedSlot - i - 1;
|
||||
#endif
|
||||
if ( nComment == nPedSlotSfx[slot] )
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user