summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/generalhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-16 18:37:13 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-16 18:38:28 -0600
commit5202a06a431047ffa7838d7532788e13188228cf (patch)
treebe0ac49959df22365eb2fbde3e979a9efb5366e8 /src/net/tmwserv/generalhandler.cpp
parent576972fb768b0e43d41bada49ad88c6431494f10 (diff)
downloadmana-client-5202a06a431047ffa7838d7532788e13188228cf.tar.gz
mana-client-5202a06a431047ffa7838d7532788e13188228cf.tar.bz2
mana-client-5202a06a431047ffa7838d7532788e13188228cf.tar.xz
mana-client-5202a06a431047ffa7838d7532788e13188228cf.zip
Fix compilation under TMWServ
Diffstat (limited to 'src/net/tmwserv/generalhandler.cpp')
-rw-r--r--src/net/tmwserv/generalhandler.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/net/tmwserv/generalhandler.cpp b/src/net/tmwserv/generalhandler.cpp
index be05fa91..cd9b2f15 100644
--- a/src/net/tmwserv/generalhandler.cpp
+++ b/src/net/tmwserv/generalhandler.cpp
@@ -40,6 +40,8 @@
#include "net/tmwserv/playerhandler.h"
#include "net/tmwserv/tradehandler.h"
+#include "utils/gettext.h"
+
#include <list>
Net::GeneralHandler *generalHandler;
@@ -75,17 +77,17 @@ GeneralHandler::GeneralHandler():
std::list<ItemDB::Stat*> stats;
ItemDB::Stat stat;
- stat.tag = "str"; stat.tag = N_("Strength: %d");
+ stat.tag = "str"; stat.format = N_("Strength: %d");
stats.push_back(&stat);
- stat.tag = "agi"; stat.tag = N_("Agility: %d");
+ stat.tag = "agi"; stat.format = N_("Agility: %d");
stats.push_back(&stat);
- stat.tag = "dex"; stat.tag = N_("Dexterity: %d");
+ stat.tag = "dex"; stat.format = N_("Dexterity: %d");
stats.push_back(&stat);
- stat.tag = "vit"; stat.tag = N_("Vitality: %d");
+ stat.tag = "vit"; stat.format = N_("Vitality: %d");
stats.push_back(&stat);
- stat.tag = "int"; stat.tag = N_("Intelligence: %d");
+ stat.tag = "int"; stat.format = N_("Intelligence: %d");
stats.push_back(&stat);
- stat.tag = "will"; stat.tag = N_("Willpower: %d");
+ stat.tag = "will"; stat.format = N_("Willpower: %d");
stats.push_back(&stat);
ItemDB::setStatsList(stats);