(svn r13912) -Codechange: remove some casts by returning the proper type instead of void*.

This commit is contained in:
rubidium
2008-08-01 15:07:31 +00:00
parent 0a67e72df5
commit 2b6978e48e
8 changed files with 39 additions and 39 deletions

View File

@@ -1419,7 +1419,7 @@ CommandCost CmdBuildRoadStop(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
}
static void *ClearRoadStopStatusEnum(Vehicle *v, void *)
static Vehicle *ClearRoadStopStatusEnum(Vehicle *v, void *)
{
if (v->type == VEH_ROAD) ClrBit(v->u.road.state, RVS_IN_DT_ROAD_STOP);