Fix off-by-one in CallFunc_SetLineTexture

This commit is contained in:
Sally Coolatta 2023-02-12 17:04:51 -05:00
parent 437944927e
commit 8932ab4e91

View file

@ -783,7 +783,7 @@ bool CallFunc_SetLineTexture(ACSVM::Thread *thread, const ACSVM::Word *argV, ACS
texPos = argV[2];
map = thread->scopeMap;
str = map->getString(argV[4]);
str = map->getString(argV[3]);
texName = str->str;
texId = R_TextureNumForName(texName);