mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-21 08:28:44 +00:00
Fixed: Compilation under Linux (thanks Kishan for the patch!), fixes #260
This commit is contained in:
parent
b44e64bd06
commit
d5c0981911
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