mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 14:52:01 +00:00
I still make off-by-one errors because I am a horrible programmer. :D
git-svn-id: https://svn.eduke32.com/eduke32@5584 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f146abe68e
commit
e4e2954eea
1 changed files with 2 additions and 2 deletions
|
@ -1267,7 +1267,7 @@ void C_InitHashes()
|
|||
{
|
||||
uint32_t i;
|
||||
|
||||
for (i=0; i < ARRAY_SIZE(tables)-1; i++)
|
||||
for (i=0; i < ARRAY_SIZE(tables); i++)
|
||||
hash_init(tables[i]);
|
||||
|
||||
inithashnames();
|
||||
|
@ -6344,7 +6344,7 @@ void C_Compile(const char *filenam)
|
|||
initprintf("Script compiled in %dms, %ld bytes%s\n", getticks() - startcompiletime,
|
||||
(unsigned long)(g_scriptPtr-script), C_ScriptVersionString(g_scriptVersion));
|
||||
|
||||
for (i=0; (unsigned)i < ARRAY_SIZE(tables_free)-1; i++)
|
||||
for (i=0; (unsigned)i < ARRAY_SIZE(tables_free); i++)
|
||||
hash_free(tables_free[i]);
|
||||
|
||||
freehashnames();
|
||||
|
|
Loading…
Reference in a new issue