(svn r22028) -Cleanup: remove traces of a debugging "feature" that got disabled a long time ago
This commit is contained in:
@@ -331,11 +331,8 @@ struct MainWindow : Window
|
||||
break;
|
||||
|
||||
case GHK_MONEY: // Gimme money
|
||||
/* Server can not cheat in advertise mode either! */
|
||||
#ifdef ENABLE_NETWORK
|
||||
if (!_networking || !_network_server || !_settings_client.network.server_advertise)
|
||||
#endif /* ENABLE_NETWORK */
|
||||
DoCommandP(0, 10000000, 0, CMD_MONEY_CHEAT);
|
||||
/* You can only cheat for money in single player. */
|
||||
if (!_networking) DoCommandP(0, 10000000, 0, CMD_MONEY_CHEAT);
|
||||
break;
|
||||
|
||||
case GHK_UPDATE_COORDS: // Update the coordinates of all station signs
|
||||
|
Reference in New Issue
Block a user