- fixed "roll" in maphack parser

This commit is contained in:
Christoph Oelckers 2021-03-02 21:47:43 +01:00
parent 410a269c93
commit cb14e3023e

View file

@ -106,7 +106,7 @@ static int32_t LoadMapHack(const char *filename)
else if (sc.Compare("roll"))
{
if (sc.CheckNumber() && validateSprite())
spriteext[currentsprite].pitch = (int16_t)sc.Number;
spriteext[currentsprite].roll = (int16_t)sc.Number;
}
else if (sc.Compare("mdxoff") || sc.Compare("mdpivxoff") || sc.Compare("mdpivotxoff"))
{