Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Dont aim at dead people #10

Closed
GoogleCodeExporter opened this issue Apr 1, 2015 · 1 comment
Closed

Dont aim at dead people #10

GoogleCodeExporter opened this issue Apr 1, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

There is a moment where a player becomes dead but there entity still
exists, This causes us to aim at them when they are close.


Hopefully we only need to add:

    // Dont aim at them if they are dead
    if( cent->currentState.eFlags & EF_DEAD )
        continue;



Will test tonight

Original issue reported on code.google.com by the3r...@gmail.com on 5 Mar 2009 at 9:04

@GoogleCodeExporter
Copy link
Author

There is a moment where a player becomes dead but there entity still
exists, This causes us to aim at them when they are close.


Hopefully we only need to add:

    // Dont aim at them if they are dead
    if( cent->currentState.eFlags & EF_DEAD )
        continue;



Will test tonight


Original comment by MoarTree...@gmail.com on 5 Mar 2009 at 9:13

  • Changed state: Duplicate
  • Added labels: ****
  • Removed labels: ****

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant