diff options
Diffstat (limited to 'engines/hopkins/script.cpp')
-rw-r--r-- | engines/hopkins/script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hopkins/script.cpp b/engines/hopkins/script.cpp index 8330c1ea43..d0b086c6e7 100644 --- a/engines/hopkins/script.cpp +++ b/engines/hopkins/script.cpp @@ -479,11 +479,11 @@ LABEL_1141: if (*(a1 + 2) == 'M' && *(a1 + 3) == 'U' && *(a1 + 4) == 'S') v1 = 1; if (*(a1 + 2) == 'W' && *(a1 + 3) == 'A' && *(a1 + 4) == 'I') { - int v74 = (int16)READ_LE_UINT16(a1 + 5) / _vm->_globals.vitesse; + uint v74 = READ_LE_UINT16(a1 + 5) / _vm->_globals.vitesse; if (!v74) v74 = 1; if (v74 + 1 > 0) { - for (int v10 = 0; v10 < v74 + 1; v10++) { + for (uint v10 = 0; v10 < v74 + 1; v10++) { if (_vm->shouldQuit()) return -1; // Exiting game |