This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 9632 for ps


Ignore:
Timestamp:
06/18/11 01:08:46 (14 years ago)
Author:
Badmadblacksad
Message:

Entities faces toward themself. fixed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/binaries/data/mods/public/simulation/components/UnitAI.js

    r9631 r9632  
    19071907        var cmpUnitMotion = Engine.QueryInterface(this.entity, IID_UnitMotion);
    19081908        if (cmpUnitMotion)
    1909             cmpUnitMotion.FaceTowardsPoint(pos.x, pos.z);
     1909            cmpUnitMotion.FaceTowardsPoint(targetpos.x, targetpos.z);
    19101910    }
    19111911}
Note: See TracChangeset for help on using the changeset viewer.