Duke: fixed breakable ceilings.

This commit is contained in:
Christoph Oelckers 2023-10-28 10:53:09 +02:00
parent 8aa34eea7b
commit 62c471e225

View file

@ -1333,7 +1333,7 @@ void checkhitwall(DDukeActor* spr, walltype* wal, const DVector3& pos)
bool checkhitceiling(sectortype* sectp)
{
auto data = breakCeilingMap.CheckKey(sectp->ceilingtexture.GetIndex());
if (data && !(data->flags & 1))
if (data)
{
if (!data->handler)
{