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:
@@ -25,7 +25,7 @@ void EnderCrystalRenderer::render(shared_ptr<Entity> _crystal, double x, double
|
||||
|
||||
float tt = crystal->time + a;
|
||||
glPushMatrix();
|
||||
glTranslatef(static_cast<float>(x), static_cast<float>(y), static_cast<float>(z));
|
||||
glTranslatef((float) x, (float) y, (float) z);
|
||||
bindTexture(&ENDER_CRYSTAL_LOCATION);
|
||||
float hh = sin(tt * 0.2f) / 2 + 0.5f;
|
||||
hh = hh * hh + hh;
|
||||
|
||||
Reference in New Issue
Block a user