Skip to content

Commit

Permalink
Merge pull request #1033 from MajorCooke/SetColorizationFix
Browse files Browse the repository at this point in the history
Side SetColorization Fix
  • Loading branch information
Doom2fan committed Feb 8, 2020
2 parents e249294 + e13d43a commit 57e7078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripting/vmthunks.cpp
Expand Up @@ -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)));
}
Expand Down

0 comments on commit 57e7078

Please sign in to comment.