From 21a1a67b848303dd6fa995729e05a4dfe1665cc4 Mon Sep 17 00:00:00 2001 From: Marco Cawthorne Date: Fri, 5 Aug 2022 14:43:04 -0700 Subject: [PATCH] Move the MUZZLE_ definitions over from Nuclide. As they belong here instead. --- src/client/defs.h | 5 +++++ src/shared/w_gauss.qc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/client/defs.h b/src/client/defs.h index ff28953..1932352 100644 --- a/src/client/defs.h +++ b/src/client/defs.h @@ -33,6 +33,11 @@ var string g_hud7_spr; var string g_cross_spr; var string g_laser_spr; +/* muzzleflash indices */ +var int MUZZLE_SMALL; +var int MUZZLE_RIFLE; +var int MUZZLE_WEIRD; + struct { /* hud.c */ diff --git a/src/shared/w_gauss.qc b/src/shared/w_gauss.qc index 26c2072..fef3f35 100644 --- a/src/shared/w_gauss.qc +++ b/src/shared/w_gauss.qc @@ -388,7 +388,7 @@ w_gauss_type(player pl) weapon_t w_gauss = { .name = "gauss", - .id = ITEM_GAUSS, + .id = ITEM_GAUSS, .slot = 3, .slot_pos = 1, .weight = 20,