Fixed segv problem with "rend-tex 2" (thanks yagisan). Fixed lighting discrepancies (light adaptation was being applied twice for mobj sprites and models). Minor tweaks in the model lighting code. Added potentially visible flags to sideinfo_t, use these rather than repeatedly checking all governing factors to decide if a wallseg section might be visible.
Fixed segv problem with "rend-tex 2" (thanks yagisan).
Fixed lighting discrepancies (light adaptation was being applied twice for mobj sprites and models). Minor tweaks in the model lighting code.
Added potentially visible flags to sideinfo_t, use these rather than repeatedly checking all governing factors to decide if a wallseg section might be visible.