aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2011-08-05 09:23:18 -0400
committerMatthew Hoops2011-08-05 09:23:18 -0400
commit3b3ab9a502fd76fb6cce427f3c50b709011ff7ef (patch)
tree386ec82c2888ad325be05e3c4a36a2fcb1bde57d
parent51fc76acd4707b9ce3172fbff9cc523a389a52b3 (diff)
downloadscummvm-rg350-3b3ab9a502fd76fb6cce427f3c50b709011ff7ef.tar.gz
scummvm-rg350-3b3ab9a502fd76fb6cce427f3c50b709011ff7ef.tar.bz2
scummvm-rg350-3b3ab9a502fd76fb6cce427f3c50b709011ff7ef.zip
SCUMM: Add note to soccer u32 op_1011 about cursor scaling
-rw-r--r--engines/scumm/he/logic_he.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/scumm/he/logic_he.cpp b/engines/scumm/he/logic_he.cpp
index 97df4a6250..0476ed9858 100644
--- a/engines/scumm/he/logic_he.cpp
+++ b/engines/scumm/he/logic_he.cpp
@@ -1241,6 +1241,8 @@ int LogicHEsoccer::op_1011(int32 a1, int32 a2, int32 a3, int32 a4, int32 a5, int
int start = (_vm->_game.id == GID_SOCCER) ? 19 : 18;
int end = (_vm->_game.id == GID_SOCCER) ? 19 : 21;
+ // The following loop is doing cursor scaling
+ // The further up on the screen, the smaller the cursor is
for (int i = start; i <= end; i++) {
int v14 = getFromArray(a2, i, 0);
int v15 = getFromArray(a2, i, 1);