From 17333436188f63319625b007489c7b70029bfaba Mon Sep 17 00:00:00 2001 From: James Haley Date: Sun, 6 Feb 2011 17:38:54 +0000 Subject: Numerous fixes/adjustments: removed bodyque, restored "is turbo" (found it in there after all), removed some dead code in p_dialog, added a 'default: break;' case in EV_VerticalDoor, initialize player_t::allegiance in P_SetupLevel, minor changes to EV_Teleport, 2nd-pass verification for p_tick, and big fixes in p_user.c including noclip cheat, viewz clipping against floor, air control thrust amount, and missing/incorrect else's. Subversion-branch: /branches/strife-branch Subversion-revision: 2250 --- src/strife/p_setup.c | 60 +++++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 29 deletions(-) (limited to 'src/strife/p_setup.c') diff --git a/src/strife/p_setup.c b/src/strife/p_setup.c index b1a02b04..694d0185 100644 --- a/src/strife/p_setup.c +++ b/src/strife/p_setup.c @@ -751,20 +751,23 @@ static void P_LoadReject(int lumpnum) // void P_SetupLevel -( int map, - int playermask, - skill_t skill) +( int map, + int playermask, + skill_t skill) { - int i; - char lumpname[9]; - int lumpnum; - - totalkills = totalitems = totalsecret = wminfo.maxfrags = 0; - wminfo.partime = 180; + int i; + char lumpname[9]; + int lumpnum; + + // haleyjd 20110205 [STRIFE]: removed totalitems and wminfo + totalkills = totalsecret = 0; + for (i=0 ; i