AIPlayer trigger fix as in #1007.

This commit is contained in:
Daniel Buckmaster 2014-12-07 17:14:37 +11:00
parent 2dd23e459a
commit 04df62ebe5

View file

@ -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;