mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11:25 +00:00
Merge pull request #1033 from MajorCooke/SetColorizationFix
Side SetColorization Fix
This commit is contained in:
commit
57e70789d7
1 changed files with 1 additions and 1 deletions
|
@ -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)));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue