diff options
| author | EllipticEllipsis <elliptic.ellipsis@gmail.com> | 2022-07-22 05:17:06 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-22 05:17:06 +0100 |
| commit | c8c55a15d3acf459615fc54c4b542d7d16555d62 (patch) | |
| tree | 65a0abb709eeed9d053bb3bad8ff7c69793269c2 /src/code/z_room.c | |
| parent | cbeeeb172ab151be24478d2175f4cf7305ceff8c (diff) | |
EnBjt OK and documented (#912)
* OK, data imported
* Fix some typos
* Start docs
* Struct almost finished
* Start object, add state enum
* undefined_syms
* Finish object, name some more stuff
* Name a few states and another function
* PlayState
* Minor tweaks in z_room and z_sub_s
* Complete documentation
* spec
* Review 1
* functions.txt
* Schedule result enum
* Rename schedule results
* Review
* Remove update comments
* Inventory_DeleteItem
* PLAYER_STATE
* Format
* Review
* Update struct name
Diffstat (limited to 'src/code/z_room.c')
| -rw-r--r-- | src/code/z_room.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_room.c b/src/code/z_room.c index b8646a2d0..3507765a5 100644 --- a/src/code/z_room.c +++ b/src/code/z_room.c @@ -143,7 +143,7 @@ void func_8012EBF8(PlayState* play, RoomContext* roomCtx) { roomCtx->prevRoom.segment = NULL; func_800BA798(play, &play->actorCtx); Actor_SpawnTransitionActors(play, &play->actorCtx); - if (-1 < roomCtx->currRoom.num) { + if (roomCtx->currRoom.num > -1) { Map_InitRoomData(play, roomCtx->currRoom.num); Minimap_SavePlayerRoomInitInfo(play); } |
