Fix freeing monsters not on map
Sometimes we free the monster data, but the monster is not on the map - usually this happens if the map is full of monsters and a new one is migrated on the level. Make m_detach check the monster x coordinate, so it knows not to touch the map if the monster isn't on it.
This commit is contained in:
Reference in New Issue
Block a user