summaryrefslogtreecommitdiff
path: root/mana.files
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-19 22:38:59 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-19 23:37:36 +0100
commit363527d0f95963ba3f4a6d25c8eabc1bb3ad4efe (patch)
tree117ce95d3587f913a64b71fe4dcdee716b8aea7e /mana.files
parent432d16435774cafd630e287321e882f3e8510d16 (diff)
downloadmana-363527d0f95963ba3f4a6d25c8eabc1bb3ad4efe.tar.gz
mana-363527d0f95963ba3f4a6d25c8eabc1bb3ad4efe.tar.bz2
mana-363527d0f95963ba3f4a6d25c8eabc1bb3ad4efe.tar.xz
mana-363527d0f95963ba3f4a6d25c8eabc1bb3ad4efe.zip
Fixed a crash when trying to switch servers
Ownership of the charInfo global variable wasn't well defined. It was being locked, unlocked and generally modified from a lot of places, and somewhere in this mess it ended up crashing when switching servers. Now the CharHandler instances, for eAthena and manaserv respectively, own this list of characters. A new class, Net::Character wraps up the slot index in combination with the player dummy. The list is passed on to the CharSelectDialog each time it changes. Both related and unrelated cleanups were made as well. Reviewed-by: Jared Adams
Diffstat (limited to 'mana.files')
-rw-r--r--mana.files2
1 files changed, 1 insertions, 1 deletions
diff --git a/mana.files b/mana.files
index 06edd1e2..83ae2e10 100644
--- a/mana.files
+++ b/mana.files
@@ -292,7 +292,6 @@
./src/keyboardconfig.h
./src/localplayer.cpp
./src/localplayer.h
-./src/lockedarray.h
./src/log.cpp
./src/log.h
./src/main.cpp
@@ -303,6 +302,7 @@
./src/monster.cpp
./src/monster.h
./src/net/adminhandler.h
+./src/net/charhandler.cpp
./src/net/charhandler.h
./src/net/chathandler.h
./src/net/download.cpp