Fix truecolor drawer crash

This commit is contained in:
Magnus Norddahl 2021-02-12 02:47:19 +01:00 committed by Rachael Alexanderson
parent e7476e5dac
commit 272ca6cd92

View file

@ -877,6 +877,8 @@ namespace swrenderer
template<typename DrawerT> template<typename DrawerT>
void SWTruecolorDrawers::DrawWallColumns(const WallDrawerArgs& wallargs) void SWTruecolorDrawers::DrawWallColumns(const WallDrawerArgs& wallargs)
{ {
wallcolargs.wallargs = &wallargs;
bool haslights = r_dynlights && wallargs.lightlist; bool haslights = r_dynlights && wallargs.lightlist;
if (haslights) if (haslights)
{ {