summaryrefslogtreecommitdiff
path: root/src/net/character.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-12 17:07:09 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-12 17:07:09 +0300
commit566ae30ff94caf6c92fc7d64f021b567933f8a60 (patch)
treeeae43b8899444f99a97fdd00bc5df8a117c316e9 /src/net/character.h
parent247418a3ec0b50479c7bac80322202b01527ae61 (diff)
downloadplus-566ae30ff94caf6c92fc7d64f021b567933f8a60.tar.gz
plus-566ae30ff94caf6c92fc7d64f021b567933f8a60.tar.bz2
plus-566ae30ff94caf6c92fc7d64f021b567933f8a60.tar.xz
plus-566ae30ff94caf6c92fc7d64f021b567933f8a60.zip
fix code style.
Diffstat (limited to 'src/net/character.h')
-rw-r--r--src/net/character.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/character.h b/src/net/character.h
index bab115b7f..c80482ad5 100644
--- a/src/net/character.h
+++ b/src/net/character.h
@@ -42,9 +42,9 @@ namespace Net
struct Character final
{
Character() :
- slot(0U),
dummy(nullptr),
- data()
+ data(),
+ slot(0U)
{
}
@@ -55,9 +55,9 @@ struct Character final
delete2(dummy);
}
- uint8_t slot; /**< The index in the list of characters */
LocalPlayer *dummy; /**< A dummy representing this character */
PlayerInfoBackend data;
+ uint16_t slot; /**< The index in the list of characters */
};
} // namespace Net