Don't consider W_FORCEFIELD+2 (surgery instruments) a forcefield picnum.

git-svn-id: https://svn.eduke32.com/eduke32@4222 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2013-12-26 19:45:15 +00:00
parent 46ec5c4146
commit 35b848e81f

View file

@ -137,7 +137,7 @@ int32_t SetAnimation(int32_t animsect,int32_t *animptr,int32_t thegoal,int32_t t
static inline int32_t G_GetForcefieldPicnum(int32_t wallnum)
{
int32_t picnum = wall[wallnum].overpicnum;
if (picnum > W_FORCEFIELD && picnum <= W_FORCEFIELD+2)
if (picnum == W_FORCEFIELD+1)
picnum = W_FORCEFIELD;
return picnum;
}