mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
Lunatic: Fix build, part 9. ScriptQuotes --> apStrings
git-svn-id: https://svn.eduke32.com/eduke32@5992 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e036de108d
commit
ca3449bd52
4 changed files with 5 additions and 5 deletions
|
@ -105,7 +105,7 @@ function bcheck.quote_idx(qnum, onlyidx)
|
|||
error("invalid quote number "..qnum, 3)
|
||||
end
|
||||
|
||||
local cstr = ffiC.ScriptQuotes[qnum]
|
||||
local cstr = ffiC.apStrings[qnum]
|
||||
if (onlyidx) then
|
||||
return cstr
|
||||
end
|
||||
|
|
|
@ -662,7 +662,7 @@ struct
|
|||
const int16_t staticval;
|
||||
} g_dynTileList[], g_dynSoundList[];
|
||||
|
||||
char *ScriptQuotes[];
|
||||
char *apStrings[];
|
||||
|
||||
const int32_t playerswhenstarted;
|
||||
int16_t g_spriteDeleteQueueSize;
|
||||
|
|
|
@ -174,7 +174,7 @@ A_ResetVars;
|
|||
g_dynTileList;
|
||||
g_dynSoundList;
|
||||
|
||||
ScriptQuotes;
|
||||
apStrings;
|
||||
|
||||
screenpeek;
|
||||
hudweap;
|
||||
|
|
|
@ -3799,8 +3799,8 @@ void C_Compile(const char *filenameortext, int32_t isfilename)
|
|||
C_CompilationInfo();
|
||||
}
|
||||
/// for (i=MAXQUOTES-1; i>=0; i--)
|
||||
/// if (ScriptQuotes[i] == NULL)
|
||||
/// ScriptQuotes[i] = Xcalloc(MAXQUOTELEN,sizeof(uint8_t));
|
||||
/// if (apStrings[i] == NULL)
|
||||
/// apStrings[i] = Xcalloc(MAXQUOTELEN,sizeof(uint8_t));
|
||||
}
|
||||
|
||||
if (g_numCompilerErrors)
|
||||
|
|
Loading…
Reference in a new issue