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