From 7ecc271b5873ab7540571c568de023e3d8e09657 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 20 Feb 2016 19:26:34 +0100 Subject: [PATCH] Fixed: Compilation under Linux (thanks Kishan for the patch!), fixes #260 --- .../mission_manager/missions_commands.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/code/ryzom/server/src/entities_game_service/mission_manager/missions_commands.cpp b/code/ryzom/server/src/entities_game_service/mission_manager/missions_commands.cpp index a23ccab88..c61607e31 100644 --- a/code/ryzom/server/src/entities_game_service/mission_manager/missions_commands.cpp +++ b/code/ryzom/server/src/entities_game_service/mission_manager/missions_commands.cpp @@ -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", "") 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", "") 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", "" log.displayNL("%s|%s|%u", PVP_CLAN::toString(allegiance.first).c_str(), PVP_CLAN::toString(allegiance.second).c_str(), c->getOrganization()); + + return true; }