Misc minor fixes

- Fix escape not ending shop mode
- Fix outdoor special spots not being drawn
- Fix special spots sometimes appearing off the edge of the sector in the scenario editor
This commit is contained in:
2015-02-04 14:20:59 -05:00
parent 36491c818c
commit 233a19175d
7 changed files with 10 additions and 12 deletions

View File

@@ -1273,7 +1273,8 @@ void sort_specials() {
bool is_spot(short i,short j){
if(editing_town)
return is_field_type(i,j,SPECIAL_SPOT);
else return current_terrain->special_spot[i][j];
else if(i >= 0 && i < 48 && j >= 0 && j < 48)
return current_terrain->special_spot[i][j];
return false;
}