From 3f97bd0dd04b72b1aa1ff4bdb5dddfb26613f875 Mon Sep 17 00:00:00 2001 From: bones_was_here Date: Wed, 21 Jul 2021 21:38:00 +1000 Subject: [PATCH] Enable all powerups by default in their headers --- qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh | 2 +- qcsrc/common/mutators/mutator/powerups/powerup/shield.qh | 2 +- qcsrc/common/mutators/mutator/powerups/powerup/speed.qh | 2 +- qcsrc/common/mutators/mutator/powerups/powerup/strength.qh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh b/qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh index 24bda9cd4..8120b2545 100644 --- a/qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh +++ b/qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh @@ -16,7 +16,7 @@ SOUND(Invisibility, Item_Sound("powerup")); #ifdef SVQC .float invisibility_finished; -bool autocvar_g_powerups_invisibility; +bool autocvar_g_powerups_invisibility = 1; float autocvar_g_balance_powerup_invisibility_alpha = 0.15; float autocvar_g_balance_powerup_invisibility_time = 30; void powerup_invisibility_init(Pickup this, entity item) diff --git a/qcsrc/common/mutators/mutator/powerups/powerup/shield.qh b/qcsrc/common/mutators/mutator/powerups/powerup/shield.qh index 3e482d053..10900e86a 100644 --- a/qcsrc/common/mutators/mutator/powerups/powerup/shield.qh +++ b/qcsrc/common/mutators/mutator/powerups/powerup/shield.qh @@ -14,7 +14,7 @@ SOUND(Shield, Item_Sound("powerup_shield")); #endif #ifdef SVQC -bool autocvar_g_powerups_shield; +bool autocvar_g_powerups_shield = 1; float autocvar_g_balance_powerup_invincible_takedamage; float autocvar_g_balance_powerup_invincible_takeforce = 0.33; float autocvar_g_balance_powerup_invincible_time; diff --git a/qcsrc/common/mutators/mutator/powerups/powerup/speed.qh b/qcsrc/common/mutators/mutator/powerups/powerup/speed.qh index 4bdfe3210..1f56bd0ad 100644 --- a/qcsrc/common/mutators/mutator/powerups/powerup/speed.qh +++ b/qcsrc/common/mutators/mutator/powerups/powerup/speed.qh @@ -16,7 +16,7 @@ SOUND(Speed, Item_Sound("powerup_shield")); #ifdef SVQC .float speed_finished; -bool autocvar_g_powerups_speed; +bool autocvar_g_powerups_speed = 1; float autocvar_g_balance_powerup_speed_attackrate = 0.8; float autocvar_g_balance_powerup_speed_highspeed = 1.5; float autocvar_g_balance_powerup_speed_time = 30; diff --git a/qcsrc/common/mutators/mutator/powerups/powerup/strength.qh b/qcsrc/common/mutators/mutator/powerups/powerup/strength.qh index 8d25bfb90..9392a6a2d 100644 --- a/qcsrc/common/mutators/mutator/powerups/powerup/strength.qh +++ b/qcsrc/common/mutators/mutator/powerups/powerup/strength.qh @@ -14,7 +14,7 @@ SOUND(Strength, Item_Sound("powerup")); #endif #ifdef SVQC -bool autocvar_g_powerups_strength; +bool autocvar_g_powerups_strength = 1; float autocvar_g_balance_powerup_strength_damage; float autocvar_g_balance_powerup_strength_force; float autocvar_g_balance_powerup_strength_selfdamage; -- 2.39.2