mirror of
https://github.com/yquake2/xatrix.git
synced 2025-02-24 12:51:40 +00:00
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:
parent
a9cc79dddf
commit
8a1ea1725a
1 changed files with 1 additions and 1 deletions
|
@ -1359,7 +1359,7 @@ heat_think(edict_t *self)
|
|||
continue;
|
||||
}
|
||||
|
||||
if (!(target->svflags & SVF_MONSTER))
|
||||
if ((!target->svflags) & SVF_MONSTER)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue