- bugfix for team switching validation should be skipped

- commented printf for tween debugging
This commit is contained in:
Mark Vejvoda
2011-09-22 05:14:20 +00:00
parent d52924f214
commit 7e16873efd
2 changed files with 16 additions and 12 deletions

View File

@@ -508,7 +508,7 @@ void GameParticleSystem::setTween(float relative,float absolute) {
truncateDecimal<float>(tween);
if(tween < 0.0f || tween > 1.0f) {
printf("In [%s::%s Line: %d] WARNING setting tween to [%f] clamping tween, modelCycle [%f] absolute [%f] relative [%f]\n",__FILE__,__FUNCTION__,__LINE__,tween,modelCycle,absolute,relative);
//printf("In [%s::%s Line: %d] WARNING setting tween to [%f] clamping tween, modelCycle [%f] absolute [%f] relative [%f]\n",__FILE__,__FUNCTION__,__LINE__,tween,modelCycle,absolute,relative);
//assert(tween >= 0.0f && tween <= 1.0f);
}