From bc92643d8db723b5049db2dbad1ce052a0ae77a9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Oct 2012 20:39:33 +0300 Subject: Fix code style and some other minor issues. --- src/resources/specialdb.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'src/resources/specialdb.h') diff --git a/src/resources/specialdb.h b/src/resources/specialdb.h index 725542a29..f456f6a45 100644 --- a/src/resources/specialdb.h +++ b/src/resources/specialdb.h @@ -29,6 +29,15 @@ struct SpecialInfo final { + enum TargetMode + { + TARGET_SELF = 0, // no target selection + TARGET_FRIEND, // target friendly being + TARGET_ENEMY, // target hostile being + TARGET_BEING, // target any being + TARGET_POINT // target map location + }; + SpecialInfo() : id(0), isActive(false), @@ -42,14 +51,6 @@ struct SpecialInfo final A_DELETE_COPY(SpecialInfo) - enum TargetMode - { - TARGET_SELF = 0, // no target selection - TARGET_FRIEND, // target friendly being - TARGET_ENEMY, // target hostile being - TARGET_BEING, // target any being - TARGET_POINT // target map location - }; int id; std::string set; // tab on which the special is shown std::string name; // displayed name of special -- cgit v1.2.3-70-g09d2