diff src/settings_gui.cpp @ 6950:d2846442a133 draft

(svn r10205) -Codechange: refactor returning of cost, so it can be more easily modified.
author rubidium <rubidium@openttd.org>
date Mon, 18 Jun 2007 19:53:50 +0000 (2007-06-18)
parents fd42cb9816c6
children 6d300d04ac5e
line wrap: on
line diff
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -261,7 +261,7 @@
 		_opt_ptr->road_side = p1;
 		InvalidateWindow(WC_GAME_OPTIONS,0);
 	}
-	return 0;
+	return CommandCost();
 }
 
 static const Widget _game_options_widgets[] = {