mirror of
https://github.com/glest/glest-source.git
synced 2025-08-18 22:21:18 +02:00
- try to see if this helps with the tween bug
This commit is contained in:
@@ -507,8 +507,9 @@ void GameParticleSystem::setTween(float relative,float absolute) {
|
||||
}
|
||||
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);
|
||||
}
|
||||
for(Children::iterator it= children.begin(); it != children.end(); it++)
|
||||
|
Reference in New Issue
Block a user