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

@ -198,7 +198,7 @@ los(float lx, float ly, float lz, float bx, float by, float bz, OFVector3D *v)
float y = ly;
int i = 0;
for (;;) {
struct sqr *s = S(fast_f2nat(x), fast_f2nat(y));
struct sqr *s = S((int)x, (int)y);
if (SOLID(s))
break;
float floor = s->floor;