mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-24 00:31:48 +01:00
Fix use of enum in ped comment banks switch
This commit is contained in:
parent
2b8ae07ec6
commit
0f0cb40151
@ -7892,12 +7892,12 @@ cPedComments::Process()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Switch bank
|
// Switch bank
|
||||||
if (m_nActiveBank) {
|
if (m_nActiveBank == 0) {
|
||||||
actualUsedBank = SFX_BANK_PED_COMMENTS;
|
actualUsedBank = 0;
|
||||||
m_nActiveBank = SFX_BANK_0;
|
m_nActiveBank = 1;
|
||||||
} else {
|
} else {
|
||||||
actualUsedBank = SFX_BANK_0;
|
actualUsedBank = 1;
|
||||||
m_nActiveBank = SFX_BANK_PED_COMMENTS;
|
m_nActiveBank = 0;
|
||||||
}
|
}
|
||||||
comment = m_asPedComments[actualUsedBank];
|
comment = m_asPedComments[actualUsedBank];
|
||||||
for (uint32 i = 0; i < m_nCommentsInBank[actualUsedBank]; i++) {
|
for (uint32 i = 0; i < m_nCommentsInBank[actualUsedBank]; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user