summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-11 09:30:33 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-11 09:31:15 -0600
commit1bb315a8d32a8c0fb95a56ca495f387be7832cfc (patch)
tree1a32521f8d0c6600f9ab7904f416ddf997696f8e /src/net/ea
parent53ba5a7a61ccb0c3c1bda91fafa372d0966dcc82 (diff)
downloadmana-client-1bb315a8d32a8c0fb95a56ca495f387be7832cfc.tar.gz
mana-client-1bb315a8d32a8c0fb95a56ca495f387be7832cfc.tar.bz2
mana-client-1bb315a8d32a8c0fb95a56ca495f387be7832cfc.tar.xz
mana-client-1bb315a8d32a8c0fb95a56ca495f387be7832cfc.zip
Fix an odd segfault with custom item stats
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/generalhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ea/generalhandler.cpp b/src/net/ea/generalhandler.cpp
index b8d75671..477caf94 100644
--- a/src/net/ea/generalhandler.cpp
+++ b/src/net/ea/generalhandler.cpp
@@ -59,6 +59,7 @@
#include <list>
Net::GeneralHandler *generalHandler;
+std::list<ItemDB::Stat*> stats;
namespace EAthena {
@@ -87,7 +88,6 @@ GeneralHandler::GeneralHandler():
handledMessages = _messages;
generalHandler = this;
- std::list<ItemDB::Stat*> stats;
ItemDB::Stat stat;
stat.tag = "str"; stat.format = N_("Strength: %d");
stats.push_back(&stat);