Rearrange editor tool palette and refactor the code to make it easier to rearrange again in the future
- New buttons: "place forcecage", "place stone block", and (currently non-functional) "erase town entrance" - Forcecages with no creature inside them are now permanent - Fix forcecages leaving the top half behind when they disappear
This commit is contained in:
@@ -827,6 +827,7 @@ void draw_terrain(short mode) {
|
||||
else unexplored_area[i][j] = 1 - is_explored(where_draw.x,where_draw.y);
|
||||
}
|
||||
|
||||
forcecage_locs.clear();
|
||||
for(q = 0; q < 9; q++) {
|
||||
for(r = 0; r < 9; r++) {
|
||||
where_draw = (is_out()) ? univ.party.p_loc : center;
|
||||
|
Reference in New Issue
Block a user