only record movement in recording mode
This commit is contained in:
@@ -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) {
|
static void handle_move(location destination, bool& did_something, bool& need_redraw, bool& need_reprint) {
|
||||||
|
if(recording) {
|
||||||
// record the action
|
// record the action
|
||||||
std::stringstream out;
|
std::stringstream out;
|
||||||
out << destination;
|
out << destination;
|
||||||
record_action("move", out.str());
|
record_action("move", out.str());
|
||||||
|
}
|
||||||
|
|
||||||
bool town_move_done = false;
|
bool town_move_done = false;
|
||||||
if(overall_mode == MODE_COMBAT) {
|
if(overall_mode == MODE_COMBAT) {
|
||||||
|
|||||||
Reference in New Issue
Block a user