ref: d0e71af3ac0aa8da23b9b40d3da24a56911cbf67
parent: f63a604366f91377d166292eb378d601cc9ac0a9
author: Samuel Villareal <svkaiser@gmail.com>
date: Sun Sep 12 01:55:19 EDT 2010
+ Fixes for the power coupling Subversion-branch: /branches/strife-branch Subversion-revision: 2073
--- a/src/strife/p_inter.c
+++ b/src/strife/p_inter.c
@@ -810,10 +810,10 @@
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));