if height=0 is a valid condition, the loop could also just do a "while (height && tile_pos <= width+x_step-2)" ...
at least the other style type (->style = 2) seems to not end in such a loop if height = 0.
if height=0 is a valid condition, the loop could also just do a "while (height && tile_pos <= width+x_step-2)" ...
at least the other style type (->style = 2) seems to not end in such a loop if height = 0.