Retype dr to be int instead of float

This variable passes along the rule of the entity, which is an int. No
idea why it was converted to a float. Thankfully this is only used for
an unused block type, so it doesn't really matter.
This commit is contained in:
Misa
2022-12-11 10:55:25 -08:00
parent babcadc99f
commit 12820473db
2 changed files with 6 additions and 6 deletions

View File

@@ -125,11 +125,11 @@ public:
bool checkplatform(const SDL_Rect& temprect, int* px, int* py);
bool checkblocks(const SDL_Rect& temprect, float dx, float dy, float dr, bool skipdirblocks);
bool checkblocks(const SDL_Rect& temprect, float dx, float dy, int dr, bool skipdirblocks);
bool checktowerspikes(int t);
bool checkwall(bool invincible, const SDL_Rect& temprect, float dx, float dy, float dr, bool skipblocks, bool skipdirblocks);
bool checkwall(bool invincible, const SDL_Rect& temprect, float dx, float dy, int dr, bool skipblocks, bool skipdirblocks);
bool checkwall(bool invincible, const SDL_Rect& temprect);
float hplatformat(int px, int py);