projects
/
xonotic
/
darkplaces.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81e133a
)
Fix savegame loading crash
author
vortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 27 Jul 2011 20:30:34 +0000
(20:30 +0000)
committer
vortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 27 Jul 2011 20:30:34 +0000
(20:30 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11255
d7cf8633
-e32d-0410-b094-
e92efae38249
zone.c
patch
|
blob
|
history
diff --git
a/zone.c
b/zone.c
index
585c103
..
72432d5
100644
(file)
--- a/
zone.c
+++ b/
zone.c
@@
-634,7
+634,7
@@
void Mem_ExpandableArray_FreeArray(memexpandablearray_t *l)
void *Mem_ExpandableArray_AllocRecordAtIndex(memexpandablearray_t *l, size_t index)
{
size_t j;
- if (index
=
= l->numarrays)
+ if (index
>
= l->numarrays)
{
if (l->numarrays == l->maxarrays)
{