mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-18 14:21:36 +00:00
Fix a possible endless loop in ir_values_overlap
This commit is contained in:
parent
1bc6d10898
commit
32c095b622
1 changed files with 1 additions and 1 deletions
2
ir.c
2
ir.c
|
@ -977,7 +977,7 @@ bool ir_values_overlap(const ir_value *a, const ir_value *b)
|
|||
if (++la == enda)
|
||||
break;
|
||||
}
|
||||
else if (lb->start < la->start)
|
||||
else /* if (lb->start < la->start) actually <= */
|
||||
{
|
||||
/* order: B A, move B forward
|
||||
* check if we hit the end with B
|
||||
|
|
Loading…
Reference in a new issue