From 28bd2ffb53284e5f2781ecdcda9751d0add8ecda Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Tue, 10 Dec 2013 16:58:26 -0500 Subject: [PATCH] Mark mutator weapons in the config output --- qcsrc/common/weapons/config.qc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/qcsrc/common/weapons/config.qc b/qcsrc/common/weapons/config.qc index bd9cabd10..d447b1825 100644 --- a/qcsrc/common/weapons/config.qc +++ b/qcsrc/common/weapons/config.qc @@ -31,7 +31,12 @@ void Dump_Weapon_Settings(void) heapsort(WEP_CONFIG_COUNT, W_Config_Queue_Swap, W_Config_Queue_Compare, world); // step 4: write queue - WEP_CONFIG_WRITETOFILE(sprintf("// {{{ #%d: %s\n", i, W_Name(i))) + WEP_CONFIG_WRITETOFILE(sprintf( + "// {{{ #%d: %s%s\n", + i, + W_Name(i), + (((get_weaponinfo(i)).spawnflags & WEP_FLAG_MUTATORBLOCKED) ? " (MUTATOR WEAPON)" : "") + )) for(x = 0; x <= WEP_CONFIG_COUNT; ++x) { WEP_CONFIG_WRITETOFILE(wep_config_queue[x]) } WEP_CONFIG_WRITETOFILE("// }}}\n") -- 2.39.2