mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 01:48:44 +00:00
Fixed: Compilation under Linux (thanks Kishan for the patch!), fixes #260
--HG-- branch : develop
This commit is contained in:
parent
fad63280db
commit
3f0e6f3757
1 changed files with 8 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue