summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-09-30 21:36:00 +0000
committerpeter1138 <peter1138@openttd.org>2006-09-30 21:36:00 +0000
commit22845ef3b96abd33723c64ab8f8efbd521b41f28 (patch)
tree7ffe91babfd8e32e5a56f561d97182d5c6d0ea41
parent37ddda749a750a3b98b08a7374b852ee19957946 (diff)
downloadopenttd-22845ef3b96abd33723c64ab8f8efbd521b41f28.tar.xz
(svn r6594) - Fix (r6513): When adding command callbacks, add the callback to the list...
-rw-r--r--callback_table.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/callback_table.c b/callback_table.c
index 14203a2c3..65e140742 100644
--- a/callback_table.c
+++ b/callback_table.c
@@ -23,6 +23,9 @@ CommandCallback CcBuildBridge;
CommandCallback CcBuildDocks;
CommandCallback CcBuildCanal;
+/* depot_gui.c */
+CommandCallback CcCloneVehicle;
+
/* main_gui.c */
CommandCallback CcPlaySound10;
CommandCallback CcPlaceSign;
@@ -81,7 +84,8 @@ CommandCallback *_callback_table[] = {
/* 0x16 */ CcCloneRoadVeh,
/* 0x17 */ CcCloneShip,
/* 0x18 */ CcCloneTrain,
- /* 0x19 */ CcAI
+ /* 0x19 */ CcAI,
+ /* 0x1A */ CcCloneVehicle
};
const int _callback_table_count = lengthof(_callback_table);