1.0790282426433283e+31 years are a lot

This commit is contained in:
Nishi 2026-01-25 03:11:37 +09:00
commit 2608502217
Signed by: nishi
GPG key ID: 27EF69B208EB9343

View file

@ -205,6 +205,10 @@ void GSSkyBoxDraw(GSSkyBox skybox) {
GSGLClearDepth(gl);
GSGLShadowEnable(gl);
/* this overflows in:
* 3.402823466e+38/60/60/24/365 = 1.0790282426433283e+31
* years. which would NEVER happen.
*/
skybox->tick += 1 / skybox->engine->tps;
}