mirror of
https://github.com/yquake2/3zb2.git
synced 2024-11-22 03:41:50 +00:00
Fix the build with modern compiles.
Global variables must not be static if they're used in other translation units. I wonder why this ever worked. This only fixes errors. There're a lot of warning left.
This commit is contained in:
parent
c160418e06
commit
991bbcb87b
2 changed files with 4 additions and 4 deletions
|
@ -28,9 +28,9 @@ gitem_armor_t jacketarmor_info = { 25, 50, .30, .00, ARMOR_JACKET};
|
|||
gitem_armor_t combatarmor_info = { 50, 100, .60, .30, ARMOR_COMBAT};
|
||||
gitem_armor_t bodyarmor_info = {100, 200, .80, .60, ARMOR_BODY};
|
||||
|
||||
static int jacket_armor_index;
|
||||
static int combat_armor_index;
|
||||
static int body_armor_index;
|
||||
int jacket_armor_index;
|
||||
int combat_armor_index;
|
||||
int body_armor_index;
|
||||
static int power_screen_index;
|
||||
static int power_shield_index;
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#include "m_player.h"
|
||||
#include "bot.h"
|
||||
|
||||
static qboolean is_quad;
|
||||
qboolean is_quad;
|
||||
// RAFAEL
|
||||
static qboolean is_quadfire;
|
||||
static byte is_silenced;
|
||||
|
|
Loading…
Reference in a new issue