1
0
Fork 0

(svn r8102) -Cleanup: Remove unreachable code (r8096), useless cast

release/0.6
Darkvater 2007-01-13 15:55:22 +00:00
parent e832a1d046
commit 5863a6088d
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ static void ShowNewGRFInfo(const GRFConfig *c, uint x, uint y, uint w, bool show
} }
/* Prepare and draw GRF ID */ /* Prepare and draw GRF ID */
snprintf(buff, lengthof(buff), "%08X", (uint32)BSWAP32(c->grfid)); snprintf(buff, lengthof(buff), "%08X", BSWAP32(c->grfid));
SetDParamStr(0, buff); SetDParamStr(0, buff);
y += DrawStringMultiLine(x, y, STR_NEWGRF_GRF_ID, w); y += DrawStringMultiLine(x, y, STR_NEWGRF_GRF_ID, w);

View File

@ -574,7 +574,7 @@ static int32 ClearTile_Road(TileIndex tile, byte flags)
return DoCommand(tile, b, 0, flags, CMD_REMOVE_ROAD); return DoCommand(tile, b, 0, flags, CMD_REMOVE_ROAD);
} }
return_cmd_error(STR_1801_MUST_REMOVE_ROAD_FIRST); return_cmd_error(STR_1801_MUST_REMOVE_ROAD_FIRST);
} break; }
#undef M #undef M
case ROAD_TILE_CROSSING: { case ROAD_TILE_CROSSING: {