Skip to content

Commit

Permalink
revert of 8716db0
Browse files Browse the repository at this point in the history
as pointed in ticket - this breaks followers and seekers
#565
  • Loading branch information
Try committed Feb 29, 2024
1 parent 9cf6666 commit b4ee93d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/world/objects/npc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3779,7 +3779,7 @@ bool Npc::perceptionProcess(Npc &pl) {
}

const float quadDist = pl.qDistTo(*this);
if(hasPerc(PERC_ASSESSPLAYER) && (canSenseNpc(pl,false) & SensesBit::SENSE_SEE)==SensesBit::SENSE_SEE) {
if(hasPerc(PERC_ASSESSPLAYER) && canSenseNpc(pl,false)!=SensesBit::SENSE_NONE) {
if(perceptionProcess(pl,nullptr,quadDist,PERC_ASSESSPLAYER)) {
ret = true;
}
Expand Down

0 comments on commit b4ee93d

Please sign in to comment.