From 5202a06a431047ffa7838d7532788e13188228cf Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Thu, 16 Apr 2009 18:37:13 -0600 Subject: Fix compilation under TMWServ --- src/net/tmwserv/generalhandler.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src/net/tmwserv/generalhandler.cpp') 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 Net::GeneralHandler *generalHandler; @@ -75,17 +77,17 @@ GeneralHandler::GeneralHandler(): std::list 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); -- cgit v1.2.3-70-g09d2