Possibly fix an esoteric bug with the Lämp?
This commit is contained in:
parent
68c01dbd63
commit
3c2b083aa1
2 changed files with 3 additions and 3 deletions
|
|
@ -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.;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue