MOAISim setLoopFlags overwrites previous value

MOAISim setLoopFlags overwrites previous value instead of adding the flags.