summaryrefslogtreecommitdiff
path: root/src/object
diff options
context:
space:
mode:
authorReinmmar <herwig.orlich@gmail.com>2023-09-17 22:00:45 +0200
committerReinmmar <herwig.orlich@gmail.com>2023-09-17 22:00:45 +0200
commit203f691dff9ded169ae64f0b6b7ea7279795d843 (patch)
tree8401b729d9530789faab50b612872f7934d82f9f /src/object
parent4c37e6cf5e8ee468b047aff9dafb6f1afe8b5bad (diff)
the rest of the portal types (2 unknown to me)
Diffstat (limited to 'src/object')
-rw-r--r--src/object/jarPortal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object/jarPortal.c b/src/object/jarPortal.c
index 19c05a57..90aaf6a0 100644
--- a/src/object/jarPortal.c
+++ b/src/object/jarPortal.c
@@ -122,9 +122,9 @@ void sub_0808C01C(JarPortalEntity* this, u32 r1) {
gArea.portal_x = super->x.HALF.HI;
gArea.portal_y = super->y.HALF.HI;
gArea.portal_exit_dir = 2;
- type = PT_POT;
+ type = PT_JAR;
if (r1 != 0)
- type = 2;
+ type = PT_2;
gArea.portal_type = type;
if (r1 == 1) {
if ((gPlayerState.flags & PL_USE_PORTAL) && (gPlayerState.jump_status == 0)) {