ソースを参照

Fixed compile error in ParticleEmitter that occurred when compiling for the android NDK.

Darryl Gough 13 年 前
コミット
da65c4f084
1 ファイル変更1 行追加1 行削除
  1. 1 1
      gameplay/src/ParticleEmitter.cpp

+ 1 - 1
gameplay/src/ParticleEmitter.cpp

@@ -808,7 +808,7 @@ void ParticleEmitter::update(float elapsedTime)
         {
             if ((int)_timePerEmission > 0)
             {
-                _timeRunning = fmodl(_timeRunning, _timePerEmission);
+                _timeRunning = fmod(_timeRunning, (double)_timePerEmission);
             }
             emitOnce(emitCount);
         }