Shut up a warning

This commit is contained in:
Clownacy 2019-09-06 20:08:07 +01:00
parent 8114f88dd1
commit 0532e2afa2

View file

@ -21,7 +21,7 @@ void InitTriangleTable()
for (i = 0; i < 0x21; ++i) for (i = 0; i < 0x21; ++i)
{ {
a = (float)(i * 6.2831855f / 256.0f); a = (float)(i * 6.2831855f / 256.0f);
b = sin(a) / cos(a); b = (float)sin(a) / (float)cos(a);
gTan[i] = (short)(b * 8192.0f); gTan[i] = (short)(b * 8192.0f);
} }
} }