チェンジセット 348

差分発生行の前後
無視リスト:
コミット日時:
2008/04/27 18:46:50 (4 年前)
コミッタ:
Mk-10
ログメッセージ:

--

ファイル:

凡例:

変更無し
追加
削除
更新
コピー
移動
  • as2/Commands/src/jp/cellfusion/commands/EnterFrameCommand.as

    r347 r348  
    4646                 
    4747                _delay = delay; 
    48                 _repeatCount = repeatCount
     48                _repeatCount = repeatCount == undefined ? 1 : repeatCount
    4949                 
    5050                _currentDelay = 0; 
     
    112112                         
    113113                        _currentCount++; 
    114                         if (_currentCount == _repeatCount) _commandComplete(); 
     114                         
     115                        // 繰り返し回数が 0 の場合は終了しない 
     116                        if (_currentCount == _repeatCount && _repeatCount != 0) { 
     117                                _commandComplete(); 
     118                        } 
    115119                } 
    116120        }