summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2012-01-22 17:42:03 +0000
committerrubidium <rubidium@openttd.org>2012-01-22 17:42:03 +0000
commit60678d97575ac4b277b5fc9bdac5146c0560f1d9 (patch)
treef38be764d5725cf23414406fb7e4702b235e722d /src/game
parent3c85689b72da74f4e6dd1a53d45c1ccf57ba42a7 (diff)
downloadopenttd-60678d97575ac4b277b5fc9bdac5146c0560f1d9.tar.xz
(svn r23837) -Feature [FS#4994]: [NoGo] Allow querying orders of vehicles
Diffstat (limited to 'src/game')
-rw-r--r--src/game/game_instance.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/game_instance.cpp b/src/game/game_instance.cpp
index 5ab94d4ea..59091e449 100644
--- a/src/game/game_instance.cpp
+++ b/src/game/game_instance.cpp
@@ -57,6 +57,7 @@
#include "../script/api/game/game_map.hpp.sq"
#include "../script/api/game/game_marine.hpp.sq"
#include "../script/api/game/game_news.hpp.sq"
+#include "../script/api/game/game_order.hpp.sq"
#include "../script/api/game/game_rail.hpp.sq"
#include "../script/api/game/game_railtypelist.hpp.sq"
#include "../script/api/game/game_road.hpp.sq"
@@ -152,6 +153,7 @@ void GameInstance::RegisterAPI()
SQGSMap_Register(this->engine);
SQGSMarine_Register(this->engine);
SQGSNews_Register(this->engine);
+ SQGSOrder_Register(this->engine);
SQGSRail_Register(this->engine);
SQGSRailTypeList_Register(this->engine);
SQGSRoad_Register(this->engine);