mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Fix a minor error check mistake
This commit is contained in:
parent
fe73547f43
commit
fc50376297
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ static type_t *types_freelist;
|
|||
etype_t
|
||||
low_level_type (type_t *type)
|
||||
{
|
||||
if (type->type >= ev_type_count)
|
||||
if (type->type > ev_type_count)
|
||||
internal_error (0, "invalid type");
|
||||
if (type->type == ev_type_count)
|
||||
internal_error (0, "found 'type count' type");
|
||||
|
|
Loading…
Reference in a new issue