mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
- fixed wall switch check.
This commit is contained in:
parent
9043123aab
commit
8d622f9340
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ inline void settileflag(int flag, const std::initializer_list<short>& types)
|
|||
|
||||
inline bool wallswitchcheck(int s)
|
||||
{
|
||||
return !!(tileinfo[s].flags & TFLAG_WALLSWITCH);
|
||||
return !!(tileinfo[sprite[s].picnum].flags & TFLAG_WALLSWITCH);
|
||||
}
|
||||
|
||||
inline int checkcursectnums(int se)
|
||||
|
|
Loading…
Reference in a new issue