mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix off-by-one in CallFunc_SetLineTexture
This commit is contained in:
parent
437944927e
commit
8932ab4e91
1 changed files with 1 additions and 1 deletions
|
|
@ -783,7 +783,7 @@ bool CallFunc_SetLineTexture(ACSVM::Thread *thread, const ACSVM::Word *argV, ACS
|
||||||
texPos = argV[2];
|
texPos = argV[2];
|
||||||
|
|
||||||
map = thread->scopeMap;
|
map = thread->scopeMap;
|
||||||
str = map->getString(argV[4]);
|
str = map->getString(argV[3]);
|
||||||
texName = str->str;
|
texName = str->str;
|
||||||
|
|
||||||
texId = R_TextureNumForName(texName);
|
texId = R_TextureNumForName(texName);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue