summaryrefslogtreecommitdiff
path: root/src/net/charserverhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/charserverhandler.h')
-rw-r--r--src/net/charserverhandler.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/net/charserverhandler.h b/src/net/charserverhandler.h
index 095558cec..744ee685b 100644
--- a/src/net/charserverhandler.h
+++ b/src/net/charserverhandler.h
@@ -37,29 +37,7 @@ class CharSelectDialog;
namespace Net
{
-/**
- * A structure to hold information about a character.
- */
-struct Character final
-{
- Character() :
- slot(0),
- dummy(nullptr),
- data()
- {
- }
-
- A_DELETE_COPY(Character)
-
- ~Character()
- {
- delete2(dummy);
- }
-
- int slot; /**< The index in the list of characters */
- LocalPlayer *dummy; /**< A dummy representing this character */
- PlayerInfoBackend data;
-};
+struct Character;
typedef std::list<Character*> Characters;