summaryrefslogtreecommitdiff
path: root/StormLib/test/TLogHelper.cpp
diff options
context:
space:
mode:
authorDavid Racine <bass_dr@hotmail.com>2026-08-23 08:37:51 -0400
committerGitHub <noreply@github.com>2026-08-23 12:37:51 +0000
commit945f70222a72611fe8dd1a6b59dfc6c7e512e176 (patch)
treee62e784fc61aa0e87e1bad48b76044cfd9233ff1 /StormLib/test/TLogHelper.cpp
parent7a7f942b8ed2ed2902d1bd58f5d6e740e90b0b8b (diff)
Restore the realId assignment in AudioLoad_AsyncLoadInner (#7105)
The function declares realId and then indexes with it thirteen times - the load-status tables, AudioLoad_SearchCaches, the table entry it reads size and address from, every cache allocation, and the status write at the end - but nothing assigns it. It has read an uninitialised local since "Custom Sequences" (#2066) dropped the assignment in 2022. Restoring the line puts back the value the rest of the function expects. For SEQUENCE_TABLE and FONT_TABLE, AudioLoad_GetRealTableIndex returns the id unchanged, so this is only a correctness fix in practice: the paths that reach this function today go through the sequence script's async load command, which is rare enough that the garbage index has not been tied to any report.
Diffstat (limited to 'StormLib/test/TLogHelper.cpp')
0 files changed, 0 insertions, 0 deletions