mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-27 06:34:11 +00:00
oops, who let C++ into C? :)
This commit is contained in:
parent
0d438e255d
commit
cf93f5f65e
1 changed files with 2 additions and 1 deletions
|
@ -554,8 +554,9 @@ pr_class_get_class_method (progs_t *pr)
|
||||||
{
|
{
|
||||||
pr_class_t *class = &P_STRUCT (pr, pr_class_t, 0);
|
pr_class_t *class = &P_STRUCT (pr, pr_class_t, 0);
|
||||||
pr_sel_t *aSel = &P_STRUCT (pr, pr_sel_t, 1);
|
pr_sel_t *aSel = &P_STRUCT (pr, pr_sel_t, 1);
|
||||||
|
pr_method_t *method;
|
||||||
class = &G_STRUCT (pr, pr_class_t, class->class_pointer);
|
class = &G_STRUCT (pr, pr_class_t, class->class_pointer);
|
||||||
pr_method_t *method = obj_find_message (pr, class, aSel);
|
method = obj_find_message (pr, class, aSel);
|
||||||
RETURN_POINTER (pr, method);
|
RETURN_POINTER (pr, method);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue