mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-17 23:44:22 +00:00
fixed warning
svn-id: r11311
This commit is contained in:
parent
643b61d729
commit
bef4496b7e
@ -554,7 +554,7 @@ struct TalkSelected {
|
||||
int16 values[4];
|
||||
|
||||
void readFrom(byte *&ptr) {
|
||||
hasTalkedTo = (bool)READ_BE_UINT16(ptr); ptr += 2;
|
||||
hasTalkedTo = READ_BE_UINT16(ptr) != 0; ptr += 2;
|
||||
for (int i = 0; i < 4; i++) {
|
||||
values[i] = (int16)READ_BE_UINT16(ptr); ptr += 2;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user