mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 15:01:41 +00:00
don't barf on protocols that are used by multiple classes in the same object file.
This commit is contained in:
parent
e52633c492
commit
d084264c3a
1 changed files with 2 additions and 1 deletions
|
@ -504,7 +504,8 @@ obj_init_protocols (progs_t *pr, pr_protocol_list_t *protos)
|
|||
obj_init_protocols (pr, &G_STRUCT (pr, pr_protocol_list_t,
|
||||
proto->protocol_list));
|
||||
} else {
|
||||
PR_RunError (pr, "protocol broken");
|
||||
if (proto->class_pointer != PR_SetPointer (pr, proto_class))
|
||||
PR_RunError (pr, "protocol broken");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue