summaryrefslogtreecommitdiff
path: root/src/object
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2022-01-29 15:54:09 +0200
committerTal Hayon <talhayon1@gmail.com>2022-01-29 15:54:09 +0200
commit1f2a791e49079d726d1e72151c8fce98def79f10 (patch)
treef9ffced94a2c6cfe4634915e47abbca3f303dda5 /src/object
parentfd9049f59801a77ced44d85329ee871fda031d22 (diff)
Use PlayerControlMode in a few places
Diffstat (limited to 'src/object')
-rw-r--r--src/object/cloud.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/object/cloud.c b/src/object/cloud.c
index 5c4383d8..37899c33 100644
--- a/src/object/cloud.c
+++ b/src/object/cloud.c
@@ -115,7 +115,7 @@ void sub_0809F69C(Entity* this) {
void sub_0809F6CC(Entity* this) {
if (((gRoomControls.scroll_flags & 4) == 0) && (--this->actionDelay == 0)) {
- gPlayerState.controlMode = 1;
+ gPlayerState.controlMode = CONTROL_1;
DeleteThisEntity();
}
}