src/main_gui.cpp
changeset 9481 25ed9b0c242a
parent 9428 1ba05b499957
child 9533 e8b86b70c5f6
equal deleted inserted replaced
9480:d3e94850ecdd 9481:25ed9b0c242a
   287 				*(byte*)0 = 0;
   287 				*(byte*)0 = 0;
   288 				break;
   288 				break;
   289 
   289 
   290 			case '1' | WKC_ALT: // Gimme money
   290 			case '1' | WKC_ALT: // Gimme money
   291 				/* Server can not cheat in advertise mode either! */
   291 				/* Server can not cheat in advertise mode either! */
   292 				if (!_networking || !_network_server || !_network_advertise)
   292 				if (!_networking || !_network_server || !_settings_client.network.server_advertise)
   293 					DoCommandP(0, 10000000, 0, NULL, CMD_MONEY_CHEAT);
   293 					DoCommandP(0, 10000000, 0, NULL, CMD_MONEY_CHEAT);
   294 				break;
   294 				break;
   295 
   295 
   296 			case '2' | WKC_ALT: // Update the coordinates of all station signs
   296 			case '2' | WKC_ALT: // Update the coordinates of all station signs
   297 				UpdateAllStationVirtCoord();
   297 				UpdateAllStationVirtCoord();