only record movement in recording mode

This commit is contained in:
2024-07-03 16:47:43 -06:00
committed by Celtic Minstrel
parent 1640ba9a79
commit 53d4bc2898

View File

@@ -502,10 +502,12 @@ static void handle_look(location destination, bool& need_redraw, bool& need_repr
}
static void handle_move(location destination, bool& did_something, bool& need_redraw, bool& need_reprint) {
// record the action
std::stringstream out;
out << destination;
record_action("move", out.str());
if(recording) {
// record the action
std::stringstream out;
out << destination;
record_action("move", out.str());
}
bool town_move_done = false;
if(overall_mode == MODE_COMBAT) {