diff --git a/src/acs/call-funcs.cpp b/src/acs/call-funcs.cpp index fb4c0e1df..3e7ca5040 100644 --- a/src/acs/call-funcs.cpp +++ b/src/acs/call-funcs.cpp @@ -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);