summaryrefslogtreecommitdiff
path: root/bridge_gui.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-09-28 21:49:55 +0000
committertron <tron@openttd.org>2005-09-28 21:49:55 +0000
commit3a964862f7b14c214a38689ad646924c96a34f95 (patch)
tree6629bf3a567cab920e973fca3410c46386bd8a11 /bridge_gui.c
parentce1c72cf6ece7b5aaa0bac1a546efa55bdc851db (diff)
downloadopenttd-3a964862f7b14c214a38689ad646924c96a34f95.tar.xz
(svn r2996) 0xFFFF -> INVALID_STRING_ID
Diffstat (limited to 'bridge_gui.c')
-rw-r--r--bridge_gui.c4
1 files changed, 2 insertions, 2 deletions
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