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:
Yamagi Burmeister 2017-11-05 13:00:40 +01:00
parent c160418e06
commit 991bbcb87b
2 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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;