Skip to content

Commit

Permalink
hardware store dumpster overlapping walls and grass
Browse files Browse the repository at this point in the history
  • Loading branch information
sparr committed Mar 17, 2015
1 parent 6c62339 commit 6ce82af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mapgen_functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3256,8 +3256,8 @@ void mapgen_s_hardware(map *m, oter_id terrain_type, mapgendata dat, int, float
starty = 18;
}
bool hori = (starty == 18 ? false : true);
for (int i = startx; i <= startx + (hori ? 3 : 2); i++) {
for (int j = starty; j <= starty + (hori ? 2 : 3); j++) {
for (int i = startx; i < startx + (hori ? 3 : 2); i++) {
for (int j = starty; j < starty + (hori ? 2 : 3); j++) {
m->furn_set(i, j, f_dumpster);
}
}
Expand Down

0 comments on commit 6ce82af

Please sign in to comment.