diff options
Diffstat (limited to 'src/water_cmd.cpp')
-rw-r--r-- | src/water_cmd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp index 57db1e767..2a6572629 100644 --- a/src/water_cmd.cpp +++ b/src/water_cmd.cpp @@ -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)); } } |