Retype testwallsy's tx and ty to be ints, not floats

I have no idea why they were floats in the first place. They are
coordinates, and coordinates are integer positions in this game. They
get converted to float only to be explicitly `static_cast`ed back to
ints in `testwallsy`.
This commit is contained in:
Misa
2022-12-11 11:00:20 -08:00
parent 12820473db
commit ec520838df
2 changed files with 4 additions and 4 deletions

View File

@@ -155,7 +155,7 @@ public:
bool testwallsx(int t, int tx, int ty, bool skipdirblocks);
bool testwallsy(int t, float tx, float ty);
bool testwallsy(int t, int tx, int ty);
void applyfriction(int t, float xrate, float yrate);