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 | eee7d2e50df1b77afa1bdec630975f2dedb3c907 (patch) | |
tree | ab74a8254854a5a15541e1306e3d8e0e42ab956f /strings.c | |
parent | 3b0892d1d88fdd06fc4cf4f1a9593d0bc6ba36dc (diff) | |
download | openttd-eee7d2e50df1b77afa1bdec630975f2dedb3c907.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 'strings.c')
0 files changed, 0 insertions, 0 deletions