From 566ae30ff94caf6c92fc7d64f021b567933f8a60 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 12 Sep 2014 17:07:09 +0300 Subject: fix code style. --- src/net/character.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/character.h') 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 -- cgit v1.2.3-70-g09d2