mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
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:
parent
46ec5c4146
commit
35b848e81f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue