mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
Fix a static out of bounds error.
I really must compile with optimizations more often :P
This commit is contained in:
parent
88c765e210
commit
412fb4aacd
1 changed files with 1 additions and 1 deletions
|
@ -920,7 +920,7 @@ dag_remove_dead_nodes (dag_t *dag)
|
|||
if (!set_is_empty (node->identifiers))
|
||||
continue;
|
||||
// MOVEP with a variable destination pointer is never dead
|
||||
if (node->type == st_move && node->children[3])
|
||||
if (node->type == st_move && node->children[2])
|
||||
continue;
|
||||
set_remove (dag->roots, node->number);
|
||||
for (child_i = set_first (node->edges); child_i;
|
||||
|
|
Loading…
Reference in a new issue