summaryrefslogtreecommitdiff
path: root/src/order_backup.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-08 18:21:29 +0000
committerrubidium <rubidium@openttd.org>2010-12-08 18:21:29 +0000
commitf5702856531eae5efa334a14373365de9450b069 (patch)
tree7b33c1d5c9bf5361ede962fd7e5cb4e4428bebcf /src/order_backup.cpp
parent566174ecc02320d5fbafd7b2e7640fa473263938 (diff)
downloadopenttd-f5702856531eae5efa334a14373365de9450b069.tar.xz
(svn r21438) -Fix (r21424): fix triggered an assertion when the build did support networking
Diffstat (limited to 'src/order_backup.cpp')
-rw-r--r--src/order_backup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_backup.cpp b/src/order_backup.cpp
index ef615e2ae..b7c4c3312 100644
--- a/src/order_backup.cpp
+++ b/src/order_backup.cpp
@@ -168,7 +168,7 @@ CommandCost CmdClearOrderBackup(TileIndex tile, DoCommandFlag flags, uint32 p1,
/* 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, 0, CMD_CLEAR_ORDER_BACKUP, NULL, NULL, true, false);
+ DoCommandPInternal(ob->tile, 0, user, CMD_CLEAR_ORDER_BACKUP, NULL, NULL, 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. */