foxygit / doom Log in
commit d91c6811001a66418757efed10ae9ff503a500be
Author:     James Haley <haleyjd@hotmail.com>
AuthorDate: Tue Aug 31 03:26:51 2010 +0000
Commit:     James Haley <haleyjd@hotmail.com>
CommitDate: Tue Aug 31 03:26:51 2010 +0000

    MAXANIMS raised from 32 to 40 to match binary and stop semi-random
    crashing.

    Subversion-branch: /branches/strife-branch
    Subversion-revision: 1983
---
 src/strife/p_spec.c | 17 ++++++-----------
 1 file changed, 6 insertions(+), 11 deletions(-)

diff --git a/src/strife/p_spec.c b/src/strife/p_spec.c
index c01534a5..48df9d5e 100644
--- a/src/strife/p_spec.c
+++ b/src/strife/p_spec.c
@@ -82,11 +82,8 @@ typedef struct
 } animdef_t;


-
-#define MAXANIMS                32
-
-extern anim_t	anims[MAXANIMS];
-extern anim_t*	lastanim;
+// haleyjd 08/30/10: [STRIFE] MAXANIMS raised from 32 to 40
+#define MAXANIMS                40

 //
 // P_InitPicAnims
@@ -141,9 +138,8 @@ animdef_t               animdefs[] =
     { -1,    NULL,       NULL,        0},
 };

-anim_t		anims[MAXANIMS];
-anim_t*		lastanim;
-
+anim_t  anims[MAXANIMS];
+anim_t* lastanim;

 //
 //      Animating line specials
@@ -1070,9 +1066,8 @@ void P_PlayerInSpecialSector (player_t* player)
         // SECRET SECTOR
         //player->secretcount++; [STRIFE] Don't have a secret count.
         sector->special = 0;
-        // STRIFE-TODO: sfx_yeah when secret is found
-        //if(player - players == consoleplayer)
-        //    S_StartSound(NULL, sfx_yeah);
+        if(player - players == consoleplayer)
+            S_StartSound(NULL, sfx_yeah);
         break;

     case 11: