- fixed "roll" in maphack parser

This commit is contained in:
Christoph Oelckers 2021-03-02 21:47:43 +01:00
parent 410a269c93
commit cb14e3023e
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ static int32_t LoadMapHack(const char *filename)
else if (sc.Compare("roll")) else if (sc.Compare("roll"))
{ {
if (sc.CheckNumber() && validateSprite()) 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")) else if (sc.Compare("mdxoff") || sc.Compare("mdpivxoff") || sc.Compare("mdpivotxoff"))
{ {