[Scummvm-git-logs] scummvm master -> 63a29627351dda1dcd08e4c09a420f81bfed383e
sev-
sev at scummvm.org
Fri Jun 29 09:29:19 CEST 2018
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:
63a2962735 BLADERUNNER: Fix another signed vs unsigned warning
Commit: 63a29627351dda1dcd08e4c09a420f81bfed383e
https://github.com/scummvm/scummvm/commit/63a29627351dda1dcd08e4c09a420f81bfed383e
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2018-06-29T09:28:59+02:00
Commit Message:
BLADERUNNER: Fix another signed vs unsigned warning
Changed paths:
engines/bladerunner/actor_clues.cpp
diff --git a/engines/bladerunner/actor_clues.cpp b/engines/bladerunner/actor_clues.cpp
index 761a31a..70d3ad5 100644
--- a/engines/bladerunner/actor_clues.cpp
+++ b/engines/bladerunner/actor_clues.cpp
@@ -113,7 +113,7 @@ int ActorClues::getModifier(int actorId, int otherActorId, int clueId) {
modifier2 = 0;
modifier3 = _vm->_aiScripts->callGetFriendlinessModifierIfGetsClue(otherActorId, actorId, clueId);
- for (uint i = 0; i < _vm->_gameInfo->getActorCount(); i++) {
+ for (int i = 0; i < (int)_vm->_gameInfo->getActorCount(); i++) {
if (i != actorId && i != otherActorId) {
modifier2 += (friendliness - 50) * _vm->_aiScripts->callGetFriendlinessModifierIfGetsClue(i, otherActorId, clueId) / 100;
}
More information about the Scummvm-git-logs
mailing list