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:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user