(svn r15534) -Codechange: Rename some variables.

This commit is contained in:
frosch 2009-02-20 23:21:04 +00:00
parent c4fb879561
commit 15789a76c1
3 changed files with 5 additions and 6 deletions

View File

@ -227,7 +227,6 @@ CommandCost CmdBuildRoadVeh(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
// v->load_unload_time_rem = 0;
// v->progress = 0;
// v->u.road.unk2 = 0;
// v->u.road.overtaking = 0;
v->last_station_visited = INVALID_STATION;

View File

@ -6,9 +6,9 @@ struct WaterDrawTileStruct {
byte delta_x;
byte delta_y;
byte delta_z;
byte width;
byte height;
byte unk;
byte size_x;
byte size_y;
byte size_z;
SpriteID image;
};

View File

@ -566,8 +566,8 @@ static void DrawWaterStuff(const TileInfo *ti, const WaterDrawTileStruct *wdts,
for (; wdts->delta_x != 0x80; wdts++) {
AddSortableSpriteToDraw(wdts->image + base + ((wdts->image < 24) ? locks_base : 0), palette,
ti->x + wdts->delta_x, ti->y + wdts->delta_y,
wdts->width, wdts->height,
wdts->unk, ti->z + wdts->delta_z,
wdts->size_x, wdts->size_y,
wdts->size_z, ti->z + wdts->delta_z,
IsTransparencySet(TO_BUILDINGS));
}
}