summaryrefslogtreecommitdiff
path: root/src/strife/st_stuff.c
diff options
context:
space:
mode:
authorJames Haley2013-03-02 06:35:52 +0000
committerJames Haley2013-03-02 06:35:52 +0000
commit4e8d5dc97fe53f4ce110221c218f703834b3b9c2 (patch)
tree57c35c30fb64e062bbe37d8fc72fe80911b16c35 /src/strife/st_stuff.c
parent6a2255c70b882391931a7ef7ad9ada47a88b7c77 (diff)
downloadchocolate-doom-4e8d5dc97fe53f4ce110221c218f703834b3b9c2.tar.gz
chocolate-doom-4e8d5dc97fe53f4ce110221c218f703834b3b9c2.tar.bz2
chocolate-doom-4e8d5dc97fe53f4ce110221c218f703834b3b9c2.zip
Complete support for v1.31 behaviors in addition to v1.2, including the
ability to save on multiple save slots. Subversion-branch: /branches/v2-branch Subversion-revision: 2561
Diffstat (limited to 'src/strife/st_stuff.c')
-rw-r--r--src/strife/st_stuff.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/strife/st_stuff.c b/src/strife/st_stuff.c
index b43ed09d..3761f141 100644
--- a/src/strife/st_stuff.c
+++ b/src/strife/st_stuff.c
@@ -683,10 +683,19 @@ boolean ST_Responder(event_t* ev)
// haleyjd 09/01/10: Removed Chex Quest stuff.
// haleyjd 09/15/10: Removed retail/registered/shareware stuff
- // STRIFE-TODO: different bounds in v1.31
+ // haleyjd 20130301: different bounds in v1.31
// Ohmygod - this is not going to work.
- if (map <= 0 || map > 40)
- return false;
+ if(gameversion == exe_strife_1_31)
+ {
+ if ((isdemoversion && (map < 32 || map > 34)) ||
+ (isregistered && (map <= 0 || map > 34)))
+ return false;
+ }
+ else
+ {
+ if (map <= 0 || map > 40)
+ return false;
+ }
// So be it.
plyr->message = DEH_String(STSTR_CLEV);