DRAGONS: Fix Signed Overflow GCC Compiler Warnings

This commit is contained in:
D G Turner 2020-05-09 19:35:23 +01:00
parent 31115960e6
commit ec153bbb68
2 changed files with 5 additions and 5 deletions

View file

@ -617,7 +617,7 @@ void Minigame3::run() {
if ((tmpValue & 0xffff) == 0) {
local_1be = 1;
} else {
local_1be = 0xffff;
local_1be = -1;
}
local_1bc = _vm->getRand(3);
local_1bc = local_1bc + 3;

View file

@ -1234,13 +1234,13 @@ void SpecialOpcodes::pizzaMakerStopWorking() {
if (actorf4->_sequenceID == 1) {
actorf4->waitUntilFlag8And4AreSet();
actorf4->updateSequence(2);
actorf5->_x_pos = 0x115;
actorf5->_y_pos = 0x5c;
actorf5->_x_pos = 277;
actorf5->_y_pos = 92;
actorf5->updateSequence(7);
_vm->waitForFrames(0x78);
actorf5->updateSequence(8);
actorf5->waitUntilFlag8And4AreSet();
actorf5->_x_pos = 0xff9c;
actorf5->_x_pos = -100;
actorf5->_y_pos = 100;
actorf4->updateSequence(3);
} else {
@ -1248,7 +1248,7 @@ void SpecialOpcodes::pizzaMakerStopWorking() {
_vm->waitForFrames(0x78);
actorf5->updateSequence(8);
actorf5->waitUntilFlag8And4AreSet();
actorf5->_x_pos = 0xff9c;
actorf5->_x_pos = -100;
actorf5->_y_pos = 100;
actorf4->updateSequence(3);
} else {