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

@@ -739,6 +739,7 @@ void start_town_combat(eDirection direction) {
eDirection end_town_combat() {
short num_tries = 0,r1,i;
// TODO: Don't allow ending combat if someone is trapped in a forcecage or if two PCs are separated by an impassable wall with no way around it
r1 = get_ran(1,0,5);
while(univ.party[r1].main_status != eMainStatus::ALIVE && num_tries++ < 1000)