mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-26 22:38:17 +00:00
TSAGE: Silenced compiler warnings
This commit is contained in:
parent
9f37451e01
commit
d673fbc6a8
@ -557,7 +557,6 @@ void PlayerMover::pathfind(Common::Point *routeList, Common::Point srcPos, Commo
|
||||
} while (routeRegions[++idx] != destRegion);
|
||||
|
||||
tempList[idx] = 1;
|
||||
idx = 0;
|
||||
for (int listIndex = 1; listIndex <= endIndex; ++listIndex) {
|
||||
int var10 = tempList[listIndex];
|
||||
int var12 = tempList[listIndex + 1];
|
||||
|
@ -487,7 +487,7 @@ void InventoryDialog::execute() {
|
||||
if (!event.handled && event.eventType == EVENT_KEYPRESS) {
|
||||
if ((event.kbd.keycode == Common::KEYCODE_RETURN) || (event.kbd.keycode == Common::KEYCODE_ESCAPE)) {
|
||||
// Exit the dialog
|
||||
hiliteObj = &_btnOk;
|
||||
//hiliteObj = &_btnOk;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -239,6 +239,9 @@ byte *TLib::getResource(uint16 id, bool suppressErrors) {
|
||||
uint16 word_48050 = 0, currentToken = 0, word_48054 =0;
|
||||
byte byte_49068 = 0, byte_49069 = 0;
|
||||
DecodeReference table[0x1000];
|
||||
for (int i = 0; i < 0x1000; ++i) {
|
||||
table[i].vByte = table[i].vWord = 0;
|
||||
}
|
||||
Common::Stack<uint16> tokenList;
|
||||
|
||||
for (;;) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user