mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
reverse the order of linking
This commit is contained in:
parent
96fe150ff4
commit
2ee3aec19b
1 changed files with 2 additions and 2 deletions
|
@ -165,10 +165,10 @@ pr___obj_exec_class (progs_t *pr)
|
|||
class->super_class));
|
||||
meta->super_class = class->super_class = val - pr->pr_globals;
|
||||
} else {
|
||||
pointer_t *ml = &class->methods;
|
||||
pointer_t *ml = &meta->methods;
|
||||
while (*ml)
|
||||
ml = &G_STRUCT (pr, pr_method_list_t, *ml).method_next;
|
||||
*ml = meta->methods;
|
||||
*ml = class->methods;
|
||||
}
|
||||
Sys_DPrintf (" %d %d %d\n", meta->class_pointer, meta->super_class,
|
||||
class->super_class);
|
||||
|
|
Loading…
Reference in a new issue