summaryrefslogtreecommitdiff
path: root/src/object/cameraTarget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/object/cameraTarget.c')
-rw-r--r--src/object/cameraTarget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/cameraTarget.c b/src/object/cameraTarget.c
index 9c001915..e21b2f7d 100644
--- a/src/object/cameraTarget.c
+++ b/src/object/cameraTarget.c
@@ -53,7 +53,7 @@ void CameraTarget(Entity* this) {
case FUSION_STATE_0:
case FUSION_STATE_1:
case FUSION_STATE_2:
- if ((gMessage.doTextBox & 0x7f) == 0) {
+ if ((gMessage.state & MESSAGE_ACTIVE) == 0) {
break;
}
default:
@@ -96,7 +96,7 @@ void CameraTarget_Init(Entity* this) {
}
this->action = 1;
this->flags |= ENT_PERSIST;
- SetDefaultPriority(this, 6);
+ SetEntityPriority(this, 6);
}
void CameraTarget_Action1(Entity* this) {