[level.c] Bellow opti now use SCALE (I forget it all the time, am I cursed?)

This commit is contained in:
KikooDX 2020-09-22 13:49:59 +02:00
parent ee3e46cdf5
commit 9be543899d
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
#include "level.h"
#include "camera.h"
#define VEC_PRECISE_HALF_DISP (Vec){DWIDTH * VEC_PRECISION / 2, DHEIGHT * VEC_PRECISION / 2}
#define VEC_PRECISE_HALF_DISP (Vec){DWIDTH * VEC_PRECISION / (2 * SCALE), DHEIGHT * VEC_PRECISION / (2 * SCALE)}
void level_step(const Level *level)
{