diff --git a/libs/gamecode/engine/pr_obj.c b/libs/gamecode/engine/pr_obj.c index 90c857b3c..7bc61231d 100644 --- a/libs/gamecode/engine/pr_obj.c +++ b/libs/gamecode/engine/pr_obj.c @@ -359,8 +359,8 @@ pr_obj_get_uninstalled_dtable (progs_t *pr) static void pr_obj_msgSend (progs_t *pr) { - pr_id_t *self; - pr_sel_t *_cmd; + pr_id_t *self = P_POINTER (pr, pr_id_t, 0); + pr_sel_t *_cmd = P_POINTER (pr, pr_sel_t, 1); func_t imp; if (!self) { @@ -380,8 +380,8 @@ pr_obj_msgSend (progs_t *pr) static void pr_obj_msgSend_super (progs_t *pr) { - pr_id_t *self; - pr_sel_t *_cmd; + pr_id_t *self = P_POINTER (pr, pr_id_t, 0); + pr_sel_t *_cmd = P_POINTER (pr, pr_sel_t, 1); func_t imp; if (!self) {