fixed warnings
svn-id: r5425
This commit is contained in:
parent
abf8b9e571
commit
973032dd90
1 changed files with 2 additions and 2 deletions
|
@ -518,11 +518,11 @@ int Sound::startTalkSound(uint32 offset, uint32 b, int mode) {
|
||||||
while (num > 0) {
|
while (num > 0) {
|
||||||
_sfxFile->read(&file_byte, sizeof(file_byte));
|
_sfxFile->read(&file_byte, sizeof(file_byte));
|
||||||
_sfxFile->read(&file_byte_2, sizeof(file_byte_2));
|
_sfxFile->read(&file_byte_2, sizeof(file_byte_2));
|
||||||
assert(i < ARRAYSIZE(_mouthSyncTimes));
|
assert(i < (int)ARRAYSIZE(_mouthSyncTimes));
|
||||||
_mouthSyncTimes[i++] = file_byte | (file_byte_2 << 8);
|
_mouthSyncTimes[i++] = file_byte | (file_byte_2 << 8);
|
||||||
num--;
|
num--;
|
||||||
}
|
}
|
||||||
assert(i < ARRAYSIZE(_mouthSyncTimes));
|
assert(i < (int)ARRAYSIZE(_mouthSyncTimes));
|
||||||
_mouthSyncTimes[i] = 0xFFFF;
|
_mouthSyncTimes[i] = 0xFFFF;
|
||||||
_sfxMode |= mode;
|
_sfxMode |= mode;
|
||||||
_curSoundPos = 0;
|
_curSoundPos = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue