Possibly fix an esoteric bug with the Lämp?

This commit is contained in:
Mari the Deer 2024-07-18 15:38:19 +02:00
commit 3c2b083aa1
2 changed files with 3 additions and 3 deletions

View file

@ -56,7 +56,7 @@ Class LampMoth : Actor
}
bool isEntranced()
{
if ( !lamp )
if ( !lamp && CurSector ) // CurSector can be null somehow?
{
// look for nearby lamps
double mindist = 62500.;