mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
ACS: fixed an old regression in which printing a map char array did not dereference the given array variable
This commit is contained in:
parent
9fac6058b7
commit
bf1577a984
1 changed files with 1 additions and 1 deletions
|
@ -8570,7 +8570,7 @@ scriptwait:
|
|||
int capacity, offset, a, c;
|
||||
if (CharArrayParms(capacity, offset, a, Stack, sp, pcd == PCD_PRINTMAPCHRANGE))
|
||||
{
|
||||
while (capacity-- && (c = activeBehavior->GetArrayVal (a, offset)) != '\0')
|
||||
while (capacity-- && (c = activeBehavior->GetArrayVal (*activeBehavior->MapVars[a], offset)) != '\0')
|
||||
{
|
||||
work += (char)c;
|
||||
offset++;
|
||||
|
|
Loading…
Reference in a new issue