Merge pull request #1033 from MajorCooke/SetColorizationFix

Side SetColorization Fix
This commit is contained in:
Chronos Ouroboros 2020-02-08 02:47:36 -03:00 committed by GitHub
commit 57e70789d7

View file

@ -1769,7 +1769,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(_Sector, SetXOffset, SetXOffset)
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)));
}