diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-17 22:43:33 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-05-17 22:44:47 +0200 |
commit | 7b2b5dabb44ce1448f3af99fcba96eefe6d9147d (patch) | |
tree | cdc6404c5978d79cc7b91c5f41c64a6be8b81907 /src/main.h | |
parent | 0b18320693dd428e01ab9810d3bb4e18858c43d2 (diff) | |
download | mana-7b2b5dabb44ce1448f3af99fcba96eefe6d9147d.tar.gz mana-7b2b5dabb44ce1448f3af99fcba96eefe6d9147d.tar.bz2 mana-7b2b5dabb44ce1448f3af99fcba96eefe6d9147d.tar.xz mana-7b2b5dabb44ce1448f3af99fcba96eefe6d9147d.zip |
Make the state variable a bit more type-safe
Should be no change in behaviour.
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -78,7 +78,7 @@ /* * Client different States */ -enum { +enum State { STATE_EXIT, STATE_LOADDATA, STATE_LOGIN, @@ -136,7 +136,7 @@ const short maxSlot = 2; extern std::string token; extern char n_server, n_character; -extern unsigned char state; +extern State state; extern std::string errorMessage; #endif |