From e6de669bf26946a77f25a195769cd90d677327b6 Mon Sep 17 00:00:00 2001 From: terkhen Date: Sun, 7 Mar 2010 22:31:18 +0000 Subject: (svn r19373) -Fix (r19372): Missing variable declaration. --- src/water_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- cgit v1.2.3-70-g09d2