Merge branch 'fix-setlinetexture' into 'master'

Fix off-by-one in CallFunc_SetLineTexture

See merge request KartKrew/Kart!919
This commit is contained in:
toaster 2023-02-13 18:05:13 +00:00
commit 0d8ada50bf

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);