Răsfoiți Sursa

Merge pull request #237 from blackberry-gaming/next-setaylor

Next setaylor
Sean Paul Taylor 13 ani în urmă
părinte
comite
7c5837fe49
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      gameplay/src/Curve.cpp

+ 1 - 1
gameplay/src/Curve.cpp

@@ -119,7 +119,7 @@ void Curve::setPoint(unsigned int index, float time, float* value, Interpolation
 
 void Curve::setPoint(unsigned int index, float time, float* value, InterpolationType type, float* inValue, float* outValue)
 {
-    assert(index < _pointCount && time >= 0.0f && time <= 1.0f && !(index == 0 && time != 0.0f) && !(index == _pointCount - 1 && time != 1.0f));
+    //assert(index < _pointCount && time >= 0.0f && time <= 1.0f && !(index == 0 && time != 0.0f) && !(index == _pointCount - 1 && time != 1.0f));
 
     _points[index].time = time;
     _points[index].type = type;