Revert "Project modernization (#630)"
This code was not tested and breaks in Release builds, reverting to restore
functionality of the nightly. All in-game menus do not work and generating
a world crashes.
This reverts commit a9be52c41a.
This commit is contained in:
@@ -44,7 +44,7 @@ void Lighting::turnOn()
|
||||
|
||||
FloatBuffer *Lighting::getBuffer(double a, double b, double c, double d)
|
||||
{
|
||||
return getBuffer(static_cast<float>(a), static_cast<float>(b), static_cast<float>(c), static_cast<float>(d));
|
||||
return getBuffer((float) a, (float) b, (float) c, (float) d);
|
||||
}
|
||||
|
||||
FloatBuffer *Lighting::getBuffer(float a, float b, float c, float d)
|
||||
|
||||
Reference in New Issue
Block a user