mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 06:10:56 +00:00
[ruamoko] Fix missing entity registry pointer
This commit is contained in:
parent
db7f8a461e
commit
600a342200
1 changed files with 1 additions and 0 deletions
|
@ -120,6 +120,7 @@ rua__entity_get (rua_scene_resources_t *res, pr_ulong_t id, const char *name)
|
|||
if (scene) {
|
||||
pr_int_t entity_id = id >> 32;
|
||||
ent.id = entity_id;
|
||||
ent.reg = scene->scene->reg;
|
||||
}
|
||||
|
||||
if (!Entity_Valid (ent)) {
|
||||
|
|
Loading…
Reference in a new issue