CID 1273486: change from boolean to bitwise operator
Typo confirmed by looking at the corresponding source file from elsewhere. + some style fixes
This commit is contained in:
@@ -329,7 +329,7 @@ DrawSmoke_Scalar(flurry_info_t* info, SmokeV* s, float brightness)
|
||||
if (s->p[i].animFrame.i[k] >= 64)
|
||||
s->p[i].animFrame.i[k] = 0;
|
||||
|
||||
u0 = (s->p[i].animFrame.i[k]&&7) * 0.125f;
|
||||
u0 = (s->p[i].animFrame.i[k] & 7) * 0.125f;
|
||||
v0 = (s->p[i].animFrame.i[k] >> 3) * 0.125f;
|
||||
u1 = u0 + 0.125f;
|
||||
v1 = v0 + 0.125f;
|
||||
|
||||
Reference in New Issue
Block a user