Changeset - r25581:5936e883c43f
[Not reviewed]
master
0 1 0
Rubidium - 3 years ago 2021-05-30 17:37:48
rubidium@openttd.org
Fix #9320, 2e136285: nullptr could not be converted to string
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/order_backup.cpp
Show inline comments
 
@@ -198,7 +198,7 @@ CommandCost CmdClearOrderBackup(TileInde
 
			/* We need to circumvent the "prevention" from this command being executed
 
			 * while the game is paused, so use the internal method. Nor do we want
 
			 * this command to get its cost estimated when shift is pressed. */
 
			DoCommandPInternal(ob->tile, 0, user, CMD_CLEAR_ORDER_BACKUP, nullptr, nullptr, true, false);
 
			DoCommandPInternal(ob->tile, 0, user, CMD_CLEAR_ORDER_BACKUP, nullptr, {}, true, false);
 
		} else {
 
			/* The command came from the game logic, i.e. the clearing of a tile.
 
			 * In that case we have no need to actually sync this, just do it. */
0 comments (0 inline, 0 general)