File diff r13023:9f6499c8d4fb → r13024:48c81d0b078a
src/misc_cmd.cpp
Show inline comments
 
@@ -345,26 +345,26 @@ CommandCost CmdPause(TileIndex tile, DoC
 
				STR_NEWGRF_UNPAUSE_WARNING,
 
				NULL,
 
				AskUnsafeUnpauseCallback
 
			);
 
		} else {
 
			if (p2 == 0) {
 
				_pause_mode = _pause_mode & ~p1;
 
			} else {
 
				_pause_mode = _pause_mode | p1;
 
			}
 
		}
 

	
 
		InvalidateWindow(WC_STATUS_BAR, 0);
 
		InvalidateWindow(WC_MAIN_TOOLBAR, 0);
 
		SetWindowDirty(WC_STATUS_BAR, 0);
 
		SetWindowDirty(WC_MAIN_TOOLBAR, 0);
 
	}
 
	return CommandCost();
 
}
 

	
 
/** Change the financial flow of your company.
 
 * This is normally only enabled in offline mode, but if there is a debug
 
 * build, you can cheat (to test).
 
 * @param tile unused
 
 * @param flags operation to perform
 
 * @param p1 the amount of money to receive (if negative), or spend (if positive)
 
 * @param p2 unused
 
 */