Skip to content

Conversation

@dystopm
Copy link
Contributor

@dystopm dystopm commented Aug 10, 2025

Purpose

To spawn a grenade, you must specify an owner. In cases where you want to spawn a non-owned grenade, you currently need to create a dummy entity to achieve this.

Approach

Add conditionals to each creation function to allow a null owner to be passed as a parameter. Same as #899.

Extras

A few lines removed, which had no purpose

@s1lentq s1lentq merged commit ba65f67 into rehlds:master Sep 26, 2025
5 checks passed
@dystopm dystopm deleted the allow-null-grenade-owner branch September 28, 2025 18:13
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