Revert heat_think() part of aed38232d3.

@DanielGibson missinterpreted the code, the negation must be applied to
target->svflags only. Otherwise the codition is always true and the
homing rocket never aquires a target.
This commit is contained in:
Yamagi Burmeister 2019-08-07 07:44:37 +02:00
parent a9cc79dddf
commit 8a1ea1725a

View file

@ -1359,7 +1359,7 @@ heat_think(edict_t *self)
continue; continue;
} }
if (!(target->svflags & SVF_MONSTER)) if ((!target->svflags) & SVF_MONSTER)
{ {
continue; continue;
} }