diff options
author | rubidium <rubidium@openttd.org> | 2007-06-10 21:34:45 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-06-10 21:34:45 +0000 |
commit | a2b505e4ca5973cbf087ea856431fe8922687e1b (patch) | |
tree | 17008f25bdbdfca605678108e741ba3e4e7a346d /src/callback_table.cpp | |
parent | c33e651393c8dbab8582ce7f844b5838691e02c4 (diff) | |
download | openttd-a2b505e4ca5973cbf087ea856431fe8922687e1b.tar.xz |
(svn r10087) -Fix [FS#834]: multiple subsequent "give money" actions could result in duplicate messages that money has been transfered when it only happened once.
Diffstat (limited to 'src/callback_table.cpp')
-rw-r--r-- | src/callback_table.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/callback_table.cpp b/src/callback_table.cpp index 30dca7cac..21bd39a4c 100644 --- a/src/callback_table.cpp +++ b/src/callback_table.cpp @@ -33,6 +33,7 @@ CommandCallback CcPlaySound10; CommandCallback CcPlaceSign; CommandCallback CcTerraform; CommandCallback CcBuildTown; +CommandCallback CcGiveMoney; /* rail_gui.cpp */ CommandCallback CcPlaySound1E; @@ -87,7 +88,8 @@ CommandCallback *_callback_table[] = { /* 0x17 */ CcCloneShip, /* 0x18 */ CcCloneTrain, /* 0x19 */ CcAI, - /* 0x1A */ CcCloneVehicle + /* 0x1A */ CcCloneVehicle, + /* 0x1B */ CcGiveMoney, }; const int _callback_table_count = lengthof(_callback_table); |