mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
Only call additional LineCheck if there are 3D floors
This commit is contained in:
parent
da089b09b1
commit
3129840a04
1 changed files with 1 additions and 1 deletions
|
@ -637,7 +637,7 @@ cont:
|
|||
|
||||
case TRACE_Skip:
|
||||
Results->HitType = TRACE_HitNone;
|
||||
if (!special3dpass && (TraceFlags & TRACE_3DCallback))
|
||||
if (!special3dpass && (TraceFlags & TRACE_3DCallback) && entersector->e->XFloor.ffloors.Size())
|
||||
return LineCheck(in, dist, hit, true);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue