aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/agos/rooms.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agos/rooms.cpp b/engines/agos/rooms.cpp
index 2d9bce0588..5d7e65785f 100644
--- a/engines/agos/rooms.cpp
+++ b/engines/agos/rooms.cpp
@@ -225,7 +225,7 @@ void AGOSEngine::moveDirn_e2(Item *i, uint x) {
case 0: a = -(sr->roomX); break;
case 1: a = 1; break;
case 2: a = sr->roomX; break;
- case 3: a = (uint)-1; break;
+ case 3: a = (uint16)-1; break;
case 4: a = -(sr->roomX * sr->roomY); break;
case 5: a = (sr->roomX * sr->roomY); break;
default: return;