foxygit / doom Log in
commit 1ae6058ab5c492f6f8e7fd606c9ad452f0b861ae
Author:     James Haley <haleyjd@hotmail.com>
AuthorDate: Mon Aug 30 04:14:10 2010 +0000
Commit:     James Haley <haleyjd@hotmail.com>
CommitDate: Mon Aug 30 04:14:10 2010 +0000

    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
---
 src/strife/d_main.c | 2 +-
 src/strife/p_spec.c | 9 ++++++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/strife/d_main.c b/src/strife/d_main.c
index 519b3bca..544e647b 100644
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -1626,7 +1626,7 @@ void D_DoomMain (void)
     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.
diff --git a/src/strife/p_spec.c b/src/strife/p_spec.c
index 90bc6f8f..3b4993ac 100644
--- a/src/strife/p_spec.c
+++ b/src/strife/p_spec.c
@@ -101,6 +101,8 @@ extern anim_t*	lastanim;
 //  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 @@ anim_t*		lastanim;
 //
 //      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];