mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 14:11:15 +02:00
- add debug statement to track tween bug
This commit is contained in:
@@ -505,6 +505,9 @@ void GameParticleSystem::setTween(float relative,float absolute) {
|
||||
tween /= modelCycle;
|
||||
}
|
||||
}
|
||||
if(tween < 0.0f || tween > 1.0f) {
|
||||
printf("ERROR setting tween to [%f]\n",tween);
|
||||
}
|
||||
assert(tween >= 0.0f && tween <= 1.0f);
|
||||
tween= clamp(tween, 0.0f, 1.0f);
|
||||
}
|
||||
|
Reference in New Issue
Block a user