[Scummvm-git-logs] scummvm master -> 9f3ce34e7fdc163ad3693d952c42460362a0c225
bluegr
noreply at scummvm.org
Sat Dec 20 11:15:03 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
9f3ce34e7f JANITORIAL: TOT: resolve signed/unsigned conflicts
Commit: 9f3ce34e7fdc163ad3693d952c42460362a0c225
https://github.com/scummvm/scummvm/commit/9f3ce34e7fdc163ad3693d952c42460362a0c225
Author: Michael (michael_kuerbis at web.de)
Date: 2025-12-20T13:14:59+02:00
Commit Message:
JANITORIAL: TOT: resolve signed/unsigned conflicts
Changed paths:
engines/tot/engine.cpp
diff --git a/engines/tot/engine.cpp b/engines/tot/engine.cpp
index 336e81da86a..9ec7d6fc4df 100644
--- a/engines/tot/engine.cpp
+++ b/engines/tot/engine.cpp
@@ -891,13 +891,13 @@ void TotEngine::useInventoryObjectWithInventoryObject(int16 objectCode1, int16 o
}
invIndex = 0;
- while (static_cast<uint>(_inventory[invIndex].code) != objectCode1) {
+ while (_inventory[invIndex].code != objectCode1) {
invIndex += 1;
}
indobj1 = invIndex;
invIndex = 0;
- while (static_cast<uint>(_inventory[invIndex].code) != objectCode2) {
+ while (_inventory[invIndex].code != objectCode2) {
invIndex += 1;
}
@@ -2365,7 +2365,7 @@ void TotEngine::useScreenObject() {
_chrono->_gameTick = false;
emptyLoop2();
sprites(true);
- } while (!(_currentSecondaryTrajectoryIndex == (_currentRoomData->secondaryTrajectoryLength / 2)));
+ } while (!(_currentSecondaryTrajectoryIndex == (_currentRoomData->secondaryTrajectoryLength / 2u)));
animateGive(3, 2);
updateInventory(usedObjectIndex);
More information about the Scummvm-git-logs
mailing list