diff options
Diffstat (limited to 'engines/gob/game_v1.cpp')
-rw-r--r-- | engines/gob/game_v1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/game_v1.cpp b/engines/gob/game_v1.cpp index c6830686fe..5a968b0619 100644 --- a/engines/gob/game_v1.cpp +++ b/engines/gob/game_v1.cpp @@ -1060,14 +1060,14 @@ void Game_v1::collisionsBlock(void) { _vm->_util->prepareStr(_collStr); if (strcmp(_tempStr, _collStr) == 0) { - VAR(17)++; + WRITE_VAR(17, VAR(17) + 1); WRITE_VAR(17 + var_26, 1); break; } } while (READ_LE_UINT16(descArray[var_24].ptr - 2) > pos); collStackPos++; } else { - VAR(17 + var_26) = 2; + WRITE_VAR(17 + var_26, 2); } var_24++; var_26++; |