Fixed: Compilation under Linux (thanks Kishan for the patch!), fixes #260

--HG--
branch : develop
This commit is contained in:
kervala 2016-02-20 19:26:34 +01:00
parent fad63280db
commit 3f0e6f3757

View file

@ -40,6 +40,8 @@
#include "creature_manager/creature_manager.h"
#include "world_instances.h"
#include "server_share/used_continent.h"
#include "game_share/shard_names.h"
using namespace NLMISC;
using namespace NLNET;
@ -1013,6 +1015,8 @@ NLMISC_COMMAND(getMoney, "get money of player", "<uid>")
string value = toString("%"NL_I64"u", c->getMoney());
log.displayNL(value.c_str());
return true;
}
@ -1025,6 +1029,8 @@ NLMISC_COMMAND(getPvpPoints, "get pvp points of player", "<uid>")
string value = toString("%u", c->getPvpPoint());
log.displayNL(value.c_str());
return true;
}
//----------------------------------------------------------------------------
@ -1037,6 +1043,8 @@ NLMISC_COMMAND(getCivCultOrg, "get civ cult and organization of player", "<uid>"
log.displayNL("%s|%s|%u", PVP_CLAN::toString(allegiance.first).c_str(), PVP_CLAN::toString(allegiance.second).c_str(), c->getOrganization());
return true;
}