mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 22:31:05 +00:00
Correct the type of id.
It should be struct obj_object * rather than Object *.
This commit is contained in:
parent
35a88d873c
commit
694b268f53
1 changed files with 1 additions and 1 deletions
|
@ -1412,8 +1412,8 @@ init_classes (void)
|
|||
class_t *class;
|
||||
|
||||
object = make_class ("Object", object_ivars, 0);
|
||||
type_id.t.fldptr.type = object->type;
|
||||
make_class_struct (object, &type_obj_object);
|
||||
type_id.t.fldptr.type = &type_obj_object;
|
||||
chain_type (&type_id);
|
||||
|
||||
class = make_class (".Class", class_ivars, object);
|
||||
|
|
Loading…
Reference in a new issue