mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-20 18:52:28 +00:00
Fix an out-by-one error.
That "qfvalgrind" is proving worthwhile :)
This commit is contained in:
parent
d8a5d6745f
commit
db92a7b9f9
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
|||
|
||||
do {
|
||||
if (_objs[--i] == anObject) {
|
||||
for (tmp = i; tmp < count; tmp++) {
|
||||
for (tmp = i; tmp < count - 1; tmp++) {
|
||||
_objs[tmp] = _objs[tmp + 1];
|
||||
}
|
||||
count--;
|
||||
|
|
Loading…
Reference in a new issue