X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fsector.cpp;h=fdae3ff23d4f0a2f5b2910cf210eeb1526d4c993;hb=0262a9c0ae29d375e8174038d8cc81ebbeb10215;hp=686efc9dc57aec28e44d249f676c80cbb06cf898;hpb=b4b8af638ac4ed8dbe0f081b453f568f585899de;p=supertux.git diff --git a/src/sector.cpp b/src/sector.cpp index 686efc9dc..fdae3ff23 100644 --- a/src/sector.cpp +++ b/src/sector.cpp @@ -443,8 +443,8 @@ Sector::fix_old_tiles() // lava or lavaflow if ((id == 173) || (id == 1700) || (id == 1705) || (id == 1706)) { // space lights a bit - if (((tm->get_tile_id(x-1, y)) != tm->get_tile_id(x,y)) - && (tm->get_tile_id(x, y-1) != tm->get_tile_id(x,y)) + if ((((tm->get_tile_id(x-1, y)) != tm->get_tile_id(x,y)) + && (tm->get_tile_id(x, y-1) != tm->get_tile_id(x,y))) || ((x % 3 == 0) && (y % 3 == 0))) { float pseudo_rnd = (float)((int)pos.x % 10) / 10; add_object(new PulsingLight(center, 1.0f + pseudo_rnd, 0.8f, 1.0f, Color(1.0f, 0.3f, 0.0f, 1.0f)));