mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
Fix a misplaced line.
This commit is contained in:
parent
206ab9a997
commit
74ac4ee142
1 changed files with 1 additions and 1 deletions
|
@ -432,6 +432,7 @@ qfo_types (qfo_t *qfo)
|
||||||
|
|
||||||
for (type_ptr = 4; type_ptr < qfo->spaces[qfo_type_space].data_size;
|
for (type_ptr = 4; type_ptr < qfo->spaces[qfo_type_space].data_size;
|
||||||
type_ptr += type->size) {
|
type_ptr += type->size) {
|
||||||
|
type = &QFO_STRUCT (qfo, qfo_type_space, qfot_type_t, type_ptr);
|
||||||
if (qfo->spaces[qfo_type_space].data_size - type_ptr < 2) {
|
if (qfo->spaces[qfo_type_space].data_size - type_ptr < 2) {
|
||||||
printf ("%-5x overflow, can't check size. %x\n", type_ptr,
|
printf ("%-5x overflow, can't check size. %x\n", type_ptr,
|
||||||
qfo->spaces[qfo_type_space].data_size);
|
qfo->spaces[qfo_type_space].data_size);
|
||||||
|
@ -443,7 +444,6 @@ qfo_types (qfo_t *qfo)
|
||||||
qfo->spaces[qfo_type_space].data_size);
|
qfo->spaces[qfo_type_space].data_size);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
type = &QFO_STRUCT (qfo, qfo_type_space, qfot_type_t, type_ptr);
|
|
||||||
if (type->ty < 0 || type->ty >= NUM_META)
|
if (type->ty < 0 || type->ty >= NUM_META)
|
||||||
meta = va ("invalid meta: %d", type->ty);
|
meta = va ("invalid meta: %d", type->ty);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue