rename undo_action::NONE to undo_action::MOVE.

This commit is contained in:
J. Tyne 2012-11-29 03:27:57 +00:00
parent e3d8b94b9d
commit 3f24036d7d

View file

@ -31,7 +31,7 @@
class undo_list {
/// Records information to be able to undo an action.
struct undo_action {
enum ACTION_TYPE { NONE, RECRUIT, RECALL, DISMISS };
enum ACTION_TYPE { MOVE, RECRUIT, RECALL, DISMISS };
/// Constructor for move actions.
undo_action(const unit& u,
@ -44,7 +44,7 @@ class undo_list {
original_village_owner(orig),
recall_loc(),
recall_from(),
type(NONE),
type(MOVE),
affected_unit(u),
countdown_time_bonus(timebonus),
starting_dir(dir == map_location::NDIRECTIONS ? u.facing() : dir)