mirror of https://github.com/OpenTTD/OpenTTD
(svn r6594) - Fix (r6513): When adding command callbacks, add the callback to the list...
parent
37ddda749a
commit
22845ef3b9
|
@ -23,6 +23,9 @@ CommandCallback CcBuildBridge;
|
||||||
CommandCallback CcBuildDocks;
|
CommandCallback CcBuildDocks;
|
||||||
CommandCallback CcBuildCanal;
|
CommandCallback CcBuildCanal;
|
||||||
|
|
||||||
|
/* depot_gui.c */
|
||||||
|
CommandCallback CcCloneVehicle;
|
||||||
|
|
||||||
/* main_gui.c */
|
/* main_gui.c */
|
||||||
CommandCallback CcPlaySound10;
|
CommandCallback CcPlaySound10;
|
||||||
CommandCallback CcPlaceSign;
|
CommandCallback CcPlaceSign;
|
||||||
|
@ -81,7 +84,8 @@ CommandCallback *_callback_table[] = {
|
||||||
/* 0x16 */ CcCloneRoadVeh,
|
/* 0x16 */ CcCloneRoadVeh,
|
||||||
/* 0x17 */ CcCloneShip,
|
/* 0x17 */ CcCloneShip,
|
||||||
/* 0x18 */ CcCloneTrain,
|
/* 0x18 */ CcCloneTrain,
|
||||||
/* 0x19 */ CcAI
|
/* 0x19 */ CcAI,
|
||||||
|
/* 0x1A */ CcCloneVehicle
|
||||||
};
|
};
|
||||||
|
|
||||||
const int _callback_table_count = lengthof(_callback_table);
|
const int _callback_table_count = lengthof(_callback_table);
|
||||||
|
|
Loading…
Reference in New Issue