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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/object/cameraTarget.c b/src/object/cameraTarget.c
index e21b2f7d..f327c414 100644
--- a/src/object/cameraTarget.c
+++ b/src/object/cameraTarget.c
@@ -4,7 +4,6 @@
*
* @brief Camera Target object
*/
-#define NENT_DEPRECATED
#include "common.h"
#include "entity.h"
#include "functions.h"
@@ -151,7 +150,7 @@ void sub_08083A40(Entity* this) {
this->spriteSettings.draw = 1;
this->action = 2;
- if (this->child->x.HALF.HI > gPlayerEntity.x.HALF.HI) {
+ if (this->child->x.HALF.HI > gPlayerEntity.base.x.HALF.HI) {
bVar1 = 0;
this->spriteOffsetX = 8;
} else {