Fix a missing assertion

This commit is contained in:
Pyrex 2024-02-28 19:49:49 -08:00
parent f5f5e2c20b
commit 7e67d09508

View File

@ -63,6 +63,7 @@ void map_game_map_npc_set_inflict_id(sys_i32 id) {
}
void map_game_map_npc_set_face_left(bool face_left) {
assert(game_map_npc_in_progress && "NPC has to be in progress");
game_map_npc_in_progress->face_left = face_left;
}