shithub: choc

Download patch

ref: 1ae6058ab5c492f6f8e7fd606c9ad452f0b861ae
parent: 0fc9462c52b720202ba3bf6e5cc5cf211b4b0df4
author: James Haley <haleyjd@hotmail.com>
date: Mon Aug 30 00:14:10 EDT 2010

Reenabled modifiedgame check since Strife IWAD is now loadable. Extended
MAXANIMLINES limit to 96 to match binary.

Subversion-branch: /branches/strife-branch
Subversion-revision: 1979

--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -1626,7 +1626,7 @@
     SetSaveGameDir(iwadfile);
 
     // Check for -file in shareware
-    if (0 /*modifiedgame*/) // STRIFE-FIXME: DISABLED FOR TESTING
+    if (modifiedgame)
     {
         // These are the lumps that will be checked in IWAD,
         // if any one is not present, execution will be aborted.
--- a/src/strife/p_spec.c
+++ b/src/strife/p_spec.c
@@ -101,6 +101,8 @@
 //  and end entry, in the order found in
 //  the WAD file.
 //
+// haleyjd 08/29/10: [STRIFE] Changed animdefs.
+//
 animdef_t               animdefs[] =
 {
     { false, "F_SCANR8", "F_SCANR5",  4},
@@ -146,10 +148,11 @@
 //
 //      Animating line specials
 //
-#define MAXLINEANIMS            64
+// haleyjd 08/29/10: [STRIFE] MAXLINEANIMS raised from 64 to 96
+#define MAXLINEANIMS            96
 
-extern  short	numlinespecials;
-extern  line_t*	linespeciallist[MAXLINEANIMS];
+extern  short   numlinespecials;
+extern  line_t* linespeciallist[MAXLINEANIMS];