summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJames Haley2010-08-31 03:26:51 +0000
committerJames Haley2010-08-31 03:26:51 +0000
commitd91c6811001a66418757efed10ae9ff503a500be (patch)
tree5bf0aa2407146f34338900cc3dfa949c8825c878 /src
parent7931b1c8f3e3b1a10945dbd059c4dbfbd47eb6f3 (diff)
downloadchocolate-doom-d91c6811001a66418757efed10ae9ff503a500be.tar.gz
chocolate-doom-d91c6811001a66418757efed10ae9ff503a500be.tar.bz2
chocolate-doom-d91c6811001a66418757efed10ae9ff503a500be.zip
MAXANIMS raised from 32 to 40 to match binary and stop semi-random
crashing. Subversion-branch: /branches/strife-branch Subversion-revision: 1983
Diffstat (limited to 'src')
-rw-r--r--src/strife/p_spec.c17
1 files 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: