Fix a missing assertion
This commit is contained in:
parent
f5f5e2c20b
commit
7e67d09508
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user