Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-05-12 13:08:45 +0000
committerStijn Buys <ingar@osirion.org>2008-05-12 13:08:45 +0000
commite4f2faa8d5895ba30207c09c7886afb21a697d5f (patch)
tree90751a70d480781c25274e70c4804f37acf72ee2 /src/game
parent24c695e83947d3457dbd1f5d696fa09b4ef953c0 (diff)
aux::plural, aux::article
Diffstat (limited to 'src/game')
-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 + ">");