diff options
author | tron <tron@openttd.org> | 2005-01-22 14:52:20 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-22 14:52:20 +0000 |
commit | 5d443a248217eb2aa22c8060774c9a0b6b51b4b2 (patch) | |
tree | ab74a8254854a5a15541e1306e3d8e0e42ab956f /station_gui.c | |
parent | 4ce10986b5f815ea00e4efb96e7dc97985ec75bc (diff) | |
download | openttd-5d443a248217eb2aa22c8060774c9a0b6b51b4b2.tar.xz |
(svn r1585) Rewrite CmdBuildSignals()
This addresses several issues:
- Correct comments
- Check input parameters for validity (and don't assert() them)
- Reorder checks if action is possible to produce more meaningful error messages
- Correct bug where money was charged for an action which should be free
- Kill warning about uninitialized variable, because the variable exists no more
- Make more clear how the function works (at least i hope so)
Diffstat (limited to 'station_gui.c')
0 files changed, 0 insertions, 0 deletions