Skip to content

Remove useless trap_R_AddRefEntityToScene return value#1959

Merged
slipher merged 1 commit intoDaemonEngine:masterfrom
slipher:bogus-id
Apr 30, 2026
Merged

Remove useless trap_R_AddRefEntityToScene return value#1959
slipher merged 1 commit intoDaemonEngine:masterfrom
slipher:bogus-id

Conversation

@slipher
Copy link
Copy Markdown
Member

@slipher slipher commented Apr 23, 2026

It returns how many entities have been added to the current scene, but there is nothing useful the cgame can do with this number. All the APIs with entity id require adding the entity to the cache to get an id, not to the scene.

Companion: Unvanquished/Unvanquished#3528

It returns how many entities have been added to the current scene, but
there is nothing useful the cgame can do with this number. All the APIs
with entity id require adding the entity to the cache to get an id, not
to the scene.
@slipher slipher merged commit 0d65b8a into DaemonEngine:master Apr 30, 2026
9 checks passed
@slipher slipher deleted the bogus-id branch April 30, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants