mirror of
https://github.com/glest/glest-source.git
synced 2025-09-26 23:49:03 +02:00
- bugfixes for load / save game for in progress joining
This commit is contained in:
@@ -85,7 +85,7 @@ void InterpolationData::updateVertices(float t, bool cycle) {
|
||||
}
|
||||
//assert(t>=0.0f && t<=1.0f);
|
||||
if(t < 0.0f || t > 1.0f) {
|
||||
throw megaglest_runtime_error("t < 0.0f || t > 1.0f t = [" + floatToStr(t) + "]");
|
||||
throw megaglest_runtime_error("t < 0.0f || t > 1.0f t = [" + floatToStr(t,16) + "]");
|
||||
|
||||
assert(t >= 0.f && t <= 1.f);
|
||||
}
|
||||
@@ -145,7 +145,7 @@ void InterpolationData::updateVertices(float t, bool cycle) {
|
||||
|
||||
void InterpolationData::updateNormals(float t, bool cycle){
|
||||
if(t < 0.0f || t > 1.0f) {
|
||||
throw megaglest_runtime_error("t < 0.0f || t > 1.0f t = [" + floatToStr(t) + "]");
|
||||
throw megaglest_runtime_error("t < 0.0f || t > 1.0f t = [" + floatToStr(t,16) + "]");
|
||||
|
||||
assert(t>=0.0f && t<=1.0f);
|
||||
}
|
||||
|
Reference in New Issue
Block a user