summaryrefslogtreecommitdiff
path: root/src/code/z_room.c
diff options
context:
space:
mode:
authorEllipticEllipsis <elliptic.ellipsis@gmail.com>2022-07-22 05:17:06 +0100
committerGitHub <noreply@github.com>2022-07-22 05:17:06 +0100
commitc8c55a15d3acf459615fc54c4b542d7d16555d62 (patch)
tree65a0abb709eeed9d053bb3bad8ff7c69793269c2 /src/code/z_room.c
parentcbeeeb172ab151be24478d2175f4cf7305ceff8c (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.c2
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);
}