From 6347e5fad98d28e1c8ca89273568da4c7f652a7f Mon Sep 17 00:00:00 2001 From: Samuel Villareal Date: Sat, 25 Sep 2010 08:09:59 +0000 Subject: + stonecold, jimmy, gripper, donnytrump, and lego cheats added Subversion-branch: /branches/strife-branch Subversion-revision: 2138 --- src/strife/p_mobj.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'src/strife/p_mobj.c') diff --git a/src/strife/p_mobj.c b/src/strife/p_mobj.c index 6f4cd774..3a8486a3 100644 --- a/src/strife/p_mobj.c +++ b/src/strife/p_mobj.c @@ -545,6 +545,13 @@ void P_MobjThinker (mobj_t* mobj) if (mobj->tics != -1) { mobj->tics--; + + // villsa [STRIFE] stonecold cheat + if(stonecold) + { + if(mobj->flags & MF_COUNTKILL) + P_DamageMobj(mobj, mobj, mobj, 10); + } // you can cycle through multiple states in a tic if (!mobj->tics) @@ -808,11 +815,13 @@ void P_SpawnPlayer(mapthing_t* mthing) // accuracy to 50 and give all quest flags if(deathmatch) { + int i; + p->accuracy = 50; p->questflags = QF_ALLQUESTS; // 0x7fffffff - /*for(i = 0; i < NUMCARDS; i++) - p->cards[i] = true;*/ + for(i = 0; i < NUMCARDS; i++) + p->cards[i] = true; } // villsa [STRIFE] set godmode? -- cgit v1.2.3