mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
AIPlayer trigger fix as in #1007.
This commit is contained in:
parent
2dd23e459a
commit
04df62ebe5
1 changed files with 1 additions and 1 deletions
|
|
@ -438,7 +438,7 @@ bool AIPlayer::getAIMove(Move *movePtr)
|
||||||
|
|
||||||
// Replicate the trigger state into the move so that
|
// Replicate the trigger state into the move so that
|
||||||
// triggers can be controlled from scripts.
|
// triggers can be controlled from scripts.
|
||||||
for( S32 i = 0; i < MaxTriggerKeys; i++ )
|
for( U32 i = 0; i < MaxMountedImages; i++ )
|
||||||
movePtr->trigger[i] = getImageTriggerState(i);
|
movePtr->trigger[i] = getImageTriggerState(i);
|
||||||
|
|
||||||
mLastLocation = location;
|
mLastLocation = location;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue