Fixed colorization not being applicable to bottom wall textures.

This commit is contained in:
Major Cooke 2020-02-07 22:56:46 -06:00
parent e249294e66
commit e13d43a576

View file

@ -1769,7 +1769,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(_Sector, SetXOffset, SetXOffset)
static void SetWallColorization(side_t* self, int pos, int cname) static void SetWallColorization(side_t* self, int pos, int cname)
{ {
if (pos >= 0 && pos < 2) if (pos >= 0 && pos < 3)
{ {
self->SetTextureFx(pos, TexMan.GetTextureManipulation(ENamedName(cname))); self->SetTextureFx(pos, TexMan.GetTextureManipulation(ENamedName(cname)));
} }