From a3703eafb55f4b30be8920fdc775735e2c850ccb Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 28 Sep 2005 21:49:55 +0000 Subject: (svn r2996) 0xFFFF -> INVALID_STRING_ID --- bridge_gui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bridge_gui.c') diff --git a/bridge_gui.c b/bridge_gui.c index bab6e85ca..1dccbd5f7 100644 --- a/bridge_gui.c +++ b/bridge_gui.c @@ -115,7 +115,7 @@ void ShowBuildBridgeWindow(TileIndex start, TileIndex end, byte bridge_type) { uint j = 0; int32 ret; - uint16 errmsg; + StringID errmsg; DeleteWindowById(WC_BUILD_BRIDGE, 0); @@ -123,7 +123,7 @@ void ShowBuildBridgeWindow(TileIndex start, TileIndex end, byte bridge_type) _bridgedata.start_tile = start; _bridgedata.end_tile = end; - errmsg = 0xFFFF; + errmsg = INVALID_STRING_ID; // only query bridge building possibility once, result is the same for all bridges! // returns CMD_ERROR on failure, and priCe on success -- cgit v1.2.3-54-g00ecf