We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f713134 commit 11504eaCopy full SHA for 11504ea
src/visibility.cpp
@@ -714,7 +714,7 @@ static void processVisibilitySelf(BASE_OBJECT *psObj)
714
setSeenByInstantly(psStruct->psTarget[0], psObj->player, UBYTE_MAX);
715
}
716
DROID *psDroid = castDroid(psObj);
717
- if (psDroid != nullptr && psDroid->action == DACTION_OBSERVE && cbSensorDroid(psDroid))
+ if (psDroid != nullptr && psDroid->action == DACTION_OBSERVE && cbSensorDroid(psDroid) && psDroid->psActionTarget[0] != nullptr)
718
{
719
// Anyone commenting this out will get a knee capping from John.
720
// You have been warned!!
0 commit comments