summaryrefslogtreecommitdiff
path: root/src/object
diff options
context:
space:
mode:
authorIbot02 <jtp.jtp@gmx.de>2021-10-25 13:32:54 +0200
committerIbot02 <jtp.jtp@gmx.de>2021-10-25 13:32:54 +0200
commit59076fccb73d0f7bda9fa2e560d5a52144e4aac5 (patch)
tree4c39799847b9c1ad0db73d322e1b9669c76c7719 /src/object
parent9bca0fe57fbe384db5a98e57a3e54ea82d8f39cf (diff)
Renamed Entity fields for knockback
SolidifiedGaming identified these while glitchhunting.
Diffstat (limited to 'src/object')
-rw-r--r--src/object/bakerOven.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/bakerOven.c b/src/object/bakerOven.c
index f9de2600..13cb6627 100644
--- a/src/object/bakerOven.c
+++ b/src/object/bakerOven.c
@@ -66,8 +66,8 @@ void sub_0809CD0C(Entity* this) {
ModHealth(-2);
sub_0800449C(&gPlayerEntity, 0x7a);
gPlayerEntity.iframes = 16;
- gPlayerEntity.field_0x3e = 16;
- gPlayerEntity.field_0x42 = 12;
+ gPlayerEntity.knockbackDirection = 16;
+ gPlayerEntity.knockbackDuration = 12;
gPlayerEntity.field_0x46 = 16;
}
}