1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-12-23 01:59:43 +01:00

Make map.[old]ypos ints instead of floats

So... I did see that map.ypos was a float when I added over-30-FPS mode,
because map.oldypos wasn't there before... I'm guessing that I kind of
just ignored it at the time. But, c'mon, map.ypos and map.oldypos are
always treated as ints, so there's literally no reason for them to be
actually floats in reality. I didn't even know they were anything other
than ints until I checked Map.h.
This commit is contained in:
Misa 2021-04-16 23:48:54 -07:00 committed by Ethan Lee
parent 07c425b2f8
commit 28c3ec9572

View file

@ -107,8 +107,8 @@ public:
//Special tower stuff
bool towermode;
float ypos;
float oldypos;
int ypos;
int oldypos;
int cameramode;
int cameraseek, cameraseekframe;
int resumedelay;