Float issue
| 205 | |
| 206 | // Float issue |
| 207 | void zLightUpdate(xBase* to, xScene* param_2, F32 dt) |
| 208 | { |
| 209 | _zLight* t = (_zLight*)to; |
| 210 | |
| 211 | if (t->flags & 1 && t->attached_to) |
| 212 | { |
| 213 | xVec3 pos = *xEntGetPos((xEnt*)t->attached_to); |
| 214 | pos.y += 1.0f; |
| 215 | iLightSetPos(&t->light, &pos); |
| 216 | t->light.sph.center = pos; |
| 217 | t->true_idx = xPartitionUpdate(&sLightPart, t, t->true_idx, &pos); |
| 218 | } |
| 219 | if (sEffectFuncs[t->effect_idx]) |
| 220 | { |
| 221 | sEffectFuncs[t->effect_idx](t, dt); |
| 222 | } |
| 223 | } |
| 224 | |
| 225 | // Something is wrong with gNumTemporaryLights |
| 226 | void zLightAddLocalEnv() |
no test coverage detected