summaryrefslogtreecommitdiff
path: root/src/net/character.h
diff options
context:
space:
mode:
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