diff options
author | Samuel Villareal | 2010-09-12 05:55:19 +0000 |
---|---|---|
committer | Samuel Villareal | 2010-09-12 05:55:19 +0000 |
commit | d0e71af3ac0aa8da23b9b40d3da24a56911cbf67 (patch) | |
tree | 2657f25e29bb96521aa36a6505c465383995dbe4 /src/strife | |
parent | f63a604366f91377d166292eb378d601cc9ac0a9 (diff) | |
download | chocolate-doom-d0e71af3ac0aa8da23b9b40d3da24a56911cbf67.tar.gz chocolate-doom-d0e71af3ac0aa8da23b9b40d3da24a56911cbf67.tar.bz2 chocolate-doom-d0e71af3ac0aa8da23b9b40d3da24a56911cbf67.zip |
+ Fixes for the power coupling
Subversion-branch: /branches/strife-branch
Subversion-revision: 2073
Diffstat (limited to 'src/strife')
-rw-r--r-- | src/strife/p_inter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/strife/p_inter.c b/src/strife/p_inter.c index 5d8f878d..701738f6 100644 --- a/src/strife/p_inter.c +++ b/src/strife/p_inter.c @@ -810,10 +810,10 @@ void P_KillMobj(mobj_t* source, mobj_t* target) EV_DoFloor(&junk, lowerFloor); I_StartVoice("VOC13"); - if(W_CheckNumForName("LOG13")) + if(W_CheckNumForName("LOG13") != -1) { strncpy(mission_objective, - W_CacheLumpNum("LOG13", PU_CACHE), OBJECTIVE_LEN); + W_CacheLumpName("LOG13", PU_CACHE), OBJECTIVE_LEN); } item = MT_COUPLING_BROKEN; players[0].questflags |= (1 << (mobjinfo[MT_COUPLING].speed - 1)); |