(svn r10443) -Fix: randomizing triggers should be called with callback type set to 1

This commit is contained in:
2007-07-05 06:35:09 +00:00
parent 86c14c239f
commit b507907176
2 changed files with 4 additions and 1 deletions

View File

@@ -12,6 +12,9 @@
* Names are formatted as CBID_<CLASS>_<CALLBACK>
*/
enum CallbackID {
/* Set when calling a randomizing trigger (almost undocumented) */
CBID_RANDOM_TRIGGER = 0x01,
/* Powered wagons, if the result is lower as 0x40 then the wagon is powered
* @todo : interpret the rest of the result, aka "visual effects" */
CBID_TRAIN_WAGON_POWER = 0x10,