aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/parallaction/parallaction.cpp6
-rw-r--r--engines/parallaction/parallaction.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp
index 402738758a..649f21ae96 100644
--- a/engines/parallaction/parallaction.cpp
+++ b/engines/parallaction/parallaction.cpp
@@ -737,7 +737,7 @@ void Parallaction::doLocationEnterTransition() {
return;
}
-void Parallaction::setLocationFlags(int32 flags) {
+void Parallaction::setLocationFlags(uint32 flags) {
_localFlags[_currentLocationIndex] |= flags;
}
@@ -745,11 +745,11 @@ void Parallaction::clearLocationFlags(uint32 flags) {
_localFlags[_currentLocationIndex] &= ~flags;
}
-void Parallaction::toggleLocationFlags(int32 flags) {
+void Parallaction::toggleLocationFlags(uint32 flags) {
_localFlags[_currentLocationIndex] ^= flags;
}
-int32 Parallaction::getLocationFlags() {
+uint32 Parallaction::getLocationFlags() {
return _localFlags[_currentLocationIndex];
}
diff --git a/engines/parallaction/parallaction.h b/engines/parallaction/parallaction.h
index a818702f5d..19ce437410 100644
--- a/engines/parallaction/parallaction.h
+++ b/engines/parallaction/parallaction.h
@@ -362,10 +362,10 @@ public:
Character _char;
- void setLocationFlags(int32 flags);
+ void setLocationFlags(uint32 flags);
void clearLocationFlags(uint32 flags);
- void toggleLocationFlags(int32 flags);
- int32 getLocationFlags();
+ void toggleLocationFlags(uint32 flags);
+ uint32 getLocationFlags();
uint32 _localFlags[NUM_LOCATIONS];
char _locationNames[NUM_LOCATIONS][32];