]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Make all nades do a regular explosion when they are destroyed 1477/head
authorotta8634 <k9wolf@pm.me>
Fri, 21 Feb 2025 16:44:39 +0000 (00:44 +0800)
committerotta8634 <k9wolf@pm.me>
Sat, 22 Feb 2025 11:48:42 +0000 (19:48 +0800)
commite2286aa7d943a9367ca90ff250dddd3284673a27
tree900b0e7cb481ed77858bec8d428665d51dd3bbbb
parente2f0fe4398cc595b470112b2deb2beffd2fec4f2
Make all nades do a regular explosion when they are destroyed

Previously nades would do nothing when they were destroyed (e.g. falling into lava, falling into void), except normal, napalm, and monster nade would explode (or only normal after cc7e64b6).
This commit makes them all do a normal nade explosion in such case.
This is better than doing nothing (nade would mysteriously disappear), or keeping the current sound & explosion effects (they would display, but the nade wouldn't actually do anything).
qcsrc/common/mutators/mutator/nades/sv_nades.qc