mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-05 18:59:59 +00:00
some fixes
This commit is contained in:
parent
9b162554ca
commit
9d4d83db0d
4 changed files with 16 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue