summaryrefslogtreecommitdiff
path: root/src/net/tmwserv/generalhandler.cpp
diff options
context:
space:
mode:
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);