summaryrefslogtreecommitdiff
path: root/src/mods/object_ram.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mods/object_ram.c')
-rw-r--r--src/mods/object_ram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mods/object_ram.c b/src/mods/object_ram.c
index e3a461ce..aee12afc 100644
--- a/src/mods/object_ram.c
+++ b/src/mods/object_ram.c
@@ -402,7 +402,7 @@ void CheatRam_Select(void) {
}
void CheatRam_RepairWings(void) {
- if ((gPlayer[0].arwing.rightState <= WINGSTATE_BROKEN) || (gPlayer[0].arwing.leftState <= WINGSTATE_BROKEN)) {
+ if ((gPlayer[0].arwing.rightWingState <= WINGSTATE_BROKEN) || (gPlayer[0].arwing.leftState <= WINGSTATE_BROKEN)) {
func_enmy_80067A40();
}
}