mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Merge pull request #1017 from eightyeight/aiplayer-triggers-fix
AIPlayer trigger fix
This commit is contained in:
commit
9fca02b2f8
|
|
@ -438,7 +438,7 @@ bool AIPlayer::getAIMove(Move *movePtr)
|
|||
|
||||
// Replicate the trigger state into the move so that
|
||||
// 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);
|
||||
|
||||
mLastLocation = location;
|
||||
|
|
|
|||
Loading…
Reference in a new issue