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:
Loki Rautio
2026-03-07 21:12:22 -06:00
parent a9be52c41a
commit 087b7e7abf
1373 changed files with 19449 additions and 19903 deletions

View File

@@ -79,8 +79,8 @@ void LightningBoltRenderer::render(shared_ptr<Entity> _bolt, double x, double y,
if (i == 1 || i == 2) xx2 += rr2 * 2;
if (i == 2 || i == 3) zz2 += rr2 * 2;
t->vertex(static_cast<float>(xx2 + xo0), static_cast<float>(y + (h) * 16), static_cast<float>(zz2 + zo0));
t->vertex(static_cast<float>(xx1 + xo1), static_cast<float>(y + (h + 1) * 16), static_cast<float>(zz1 + zo1));
t->vertex((float)(xx2 + xo0), (float)( y + (h) * 16), (float)( zz2 + zo0));
t->vertex((float)(xx1 + xo1), (float)( y + (h + 1) * 16), (float)( zz1 + zo1));
}