From 4209952c2aaee30e46070082650be08e9332fd3d Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Wed, 25 Sep 2024 13:02:55 -0500 Subject: [PATCH] fix a new crash at end of replay log --- src/game/boe.actions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/boe.actions.cpp b/src/game/boe.actions.cpp index d5f04c38..4bf4f16d 100644 --- a/src/game/boe.actions.cpp +++ b/src/game/boe.actions.cpp @@ -1641,7 +1641,7 @@ void advance_time(bool did_something, bool need_redraw, bool need_reprint) { record_action("advance_time", info); } if(replaying && replay_verbose){ - if(next_action_type() == "advance_time"){ + if(has_next_action("advance_time")){ std::string _last_action_type = last_action_type; Element& element = pop_next_action(); std::map info = info_from_action(element);