Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/game.cc')
-rw-r--r--src/game/game.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/game/game.cc b/src/game/game.cc
index 3bdcb8e..8b70958 100644
--- a/src/game/game.cc
+++ b/src/game/game.cc
@@ -6,14 +6,16 @@
#include <vector>
+#include "auxiliary/functions.h"
+#include "core/gameserver.h"
+#include "filesystem/filesystem.h"
+#include "filesystem/inifile.h"
#include "game/game.h"
#include "game/ship.h"
#include "game/star.h"
-#include "core/gameserver.h"
-#include "sys/sys.h"
#include "math/mathlib.h"
-#include "filesystem/filesystem.h"
-#include "filesystem/inifile.h"
+#include "sys/sys.h"
+
namespace game
{
@@ -92,7 +94,7 @@ void func_buy(core::Player *player, std::string const &args)
player->player_control = new Ship(player, shipmodel);
player->control()->entity_color = player->color();
- core::server()->broadcast(player->name() + " purchased a " + shipmodel->name());
+ core::server()->broadcast(player->name() + " purchased " + aux::article(shipmodel->name()));
player->player_dirty = true;
} else {
core::server()->send(player, "Usage: buy <" + helpstr + ">");