1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/games/asc/files/patch-source::sg.cpp
Maxim Sobolev 9937c7f036 Add Advanced Strategic Command 1.3.8, a turn based, multiplayer strategic
game with a very nice and professionally-looking graphics.
2001-02-17 21:51:31 +00:00

35 lines
760 B
C++

$FreeBSD$
--- source/sg.cpp 2001/02/17 16:28:29 1.1
+++ source/sg.cpp 2001/02/17 16:28:40
@@ -1262,7 +1259,7 @@
else {
delete actmap;
actmap = NULL;
- throw NoMapLoaded();
+ goto except1;
}
}
} else
@@ -1273,7 +1270,7 @@
if (choice_dlg("Do you want to continue playing ?","~y~es","~n~o") == 2) {
delete actmap;
actmap = NULL;
- throw NoMapLoaded();
+ goto except1;
} else {
actmap->continueplaying = 1;
if ( actmap->replayinfo ) {
@@ -1283,6 +1280,10 @@
}
}
}
+ return;
+
+except1:
+ throw NoMapLoaded();
}