diff options
author | terkhen <terkhen@openttd.org> | 2010-03-07 22:31:18 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2010-03-07 22:31:18 +0000 |
commit | e6de669bf26946a77f25a195769cd90d677327b6 (patch) | |
tree | d2a56c613b4f4ffac333694f46584c79802677d5 | |
parent | 40f106ba7c2b0055f61e652674701bce53fb06a6 (diff) | |
download | openttd-e6de669bf26946a77f25a195769cd90d677327b6.tar.xz |
(svn r19373) -Fix (r19372): Missing variable declaration.
-rw-r--r-- | src/water_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp index 6b881352e..a37d296d2 100644 --- a/src/water_cmd.cpp +++ b/src/water_cmd.cpp @@ -254,7 +254,7 @@ static CommandCost RemoveShiplift(TileIndex tile, DoCommandFlag flags) } /* make sure no vehicle is on the tile. */ - ret = EnsureNoVehicleOnGround(tile); + CommandCost ret = EnsureNoVehicleOnGround(tile); if (ret.Succeeded()) ret = EnsureNoVehicleOnGround(tile + delta); if (ret.Succeeded()) ret = EnsureNoVehicleOnGround(tile - delta); ret.SetGlobalErrorMessage(); |