[Scummvm-git-logs] scummvm master -> 163ae27d1d7dfc853bc33ab11606fe3b4a9aa826
lephilousophe
lephilousophe at users.noreply.github.com
Tue Jan 12 12:29:05 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
163ae27d1d TWINE: Use int32 instead of int like in definition
Commit: 163ae27d1d7dfc853bc33ab11606fe3b4a9aa826
https://github.com/scummvm/scummvm/commit/163ae27d1d7dfc853bc33ab11606fe3b4a9aa826
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2021-01-12T13:23:25+01:00
Commit Message:
TWINE: Use int32 instead of int like in definition
Changed paths:
engines/twine/holomap.cpp
diff --git a/engines/twine/holomap.cpp b/engines/twine/holomap.cpp
index b3ba789e08..a83b43633f 100644
--- a/engines/twine/holomap.cpp
+++ b/engines/twine/holomap.cpp
@@ -227,7 +227,7 @@ void Holomap::drawHolomapLocation(int32 location) {
_engine->copyBlockPhys(rect);
}
-int32 Holomap::getNextHolomapLocation(int32 currentLocation, int dir) const {
+int32 Holomap::getNextHolomapLocation(int32 currentLocation, int32 dir) const {
const uint32 idx = currentLocation;
for (uint32 i = currentLocation + dir; i != idx; i = (i + dir) % NUM_LOCATIONS) {
if (_engine->_gameState->holomapFlags[i % NUM_LOCATIONS] & 0x81) {
More information about the Scummvm-git-logs
mailing list