diff options
author | alberth <alberth@openttd.org> | 2010-03-20 17:58:24 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-03-20 17:58:24 +0000 |
commit | 05d705e077cb247ee31e0a61bc410fe2b9183c6a (patch) | |
tree | 7c96d4ce3b519c3edc7def2e1769c2ae4d82a334 /src/autoreplace_cmd.cpp | |
parent | a901ab53925857a3f6ae70a045a9f0ec6362107e (diff) | |
download | openttd-05d705e077cb247ee31e0a61bc410fe2b9183c6a.tar.xz |
(svn r19494) -Codechange: Remove _error_message.
Diffstat (limited to 'src/autoreplace_cmd.cpp')
-rw-r--r-- | src/autoreplace_cmd.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/autoreplace_cmd.cpp b/src/autoreplace_cmd.cpp index e4caba619..aeee94ff2 100644 --- a/src/autoreplace_cmd.cpp +++ b/src/autoreplace_cmd.cpp @@ -620,7 +620,6 @@ CommandCost CmdAutoreplaceVehicle(TileIndex tile, DoCommandFlag flags, uint32 p1 if (v == NULL) return CMD_ERROR; CommandCost ret = CheckOwnership(v->owner); - ret.SetGlobalErrorMessage(); if (ret.Failed()) return ret; if (!v->IsInDepot()) return CMD_ERROR; |