Remove fast_f2nat
FossilOrigin-Name: 51fb59fc934df4829a82f7992f10435519dc8deb7098c3be1b17642fc6c05a44
This commit is contained in:
parent
6320094293
commit
e995b95a84
5 changed files with 17 additions and 23 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue