Remove fast_f2nat

FossilOrigin-Name: 51fb59fc934df4829a82f7992f10435519dc8deb7098c3be1b17642fc6c05a44
This commit is contained in:
Jonathan Schleifer 2025-03-23 17:45:28 +00:00
parent 6320094293
commit e995b95a84
5 changed files with 17 additions and 23 deletions

View file

@ -100,10 +100,10 @@ collide(DynamicEntity *d, bool spawn, float drop, float rise)
const float fy1 = d.origin.y - d.radius;
const float fx2 = d.origin.x + d.radius;
const float fy2 = d.origin.y + d.radius;
const int x1 = fast_f2nat(fx1);
const int y1 = fast_f2nat(fy1);
const int x2 = fast_f2nat(fx2);
const int y2 = fast_f2nat(fy2);
const int x1 = fx1;
const int y1 = fy1;
const int x2 = fx2;
const int y2 = fy2;
float hi = 127, lo = -128;
// big monsters are afraid of heights, unless angry :)
float minfloor =