ACF-Team / ACF-3

ACF
MIT License
67 stars 54 forks source link

Fix the 2d skybox rendering regression, whoops #362

Closed Exotic0015 closed 12 months ago

Exotic0015 commented 12 months ago

My recent pull request fixing duplicate draws on the skybox introduced a regression - if r_3dsky was set to 0, damage would not get drawn at all. Apparently, if that is the case bDrawingSkybox was always being set to true. Weird. Anyway, as it turns out that's why the third argument in that hook exists, which has the behavior we are actually looking for.