summaryrefslogtreecommitdiff
path: root/graph_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-22 14:52:20 +0000
committertron <tron@openttd.org>2005-01-22 14:52:20 +0000
commiteee7d2e50df1b77afa1bdec630975f2dedb3c907 (patch)
treeab74a8254854a5a15541e1306e3d8e0e42ab956f /graph_gui.c
parent3b0892d1d88fdd06fc4cf4f1a9593d0bc6ba36dc (diff)
downloadopenttd-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 'graph_gui.c')
0 files changed, 0 insertions, 0 deletions