DIRECTOR: Fix copy/paste error

This commit is contained in:
Eugene Sandulenko 2022-10-08 01:33:14 +02:00
parent 3b543d06ff
commit 4a748a1791
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -371,7 +371,7 @@ bool Debugger::cmdDisasm(int argc, const char **argv) {
if (sharedCast && sharedCast->_lingoArchive) {
for (int i = 0; i <= kMaxScriptType; i++) {
debugPrintf(" %s:\n", scriptType2str((ScriptType)i));
if (cast->_lingoArchive->scriptContexts[i].size() == 0)
if (sharedCast->_lingoArchive->scriptContexts[i].size() == 0)
debugPrintf(" [empty]\n");
for (auto &it : sharedCast->_lingoArchive->scriptContexts[i]) {