From: Lyberta Date: Wed, 6 Sep 2017 06:34:52 +0000 (+0300) Subject: Handicap: fixed compilation units. X-Git-Tag: xonotic-v0.8.5~2474^2~4 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9fd5d8677031ca4c16bbf15e34c2d1c3f94f1b1f;p=xonotic%2Fxonotic-data.pk3dir.git Handicap: fixed compilation units. --- diff --git a/qcsrc/server/handicap.qc b/qcsrc/server/handicap.qc index 078c7035a..26c90c837 100644 --- a/qcsrc/server/handicap.qc +++ b/qcsrc/server/handicap.qc @@ -5,6 +5,9 @@ /// \author Lyberta /// \copyright GNU GPLv2 or any later version. +#include +#include "client.qh" + .float m_handicap; ///< Holds the handicap value. void Handicap_Initialize(entity player) diff --git a/qcsrc/server/player.qc b/qcsrc/server/player.qc index ab4b8edc3..d9226f343 100644 --- a/qcsrc/server/player.qc +++ b/qcsrc/server/player.qc @@ -4,6 +4,7 @@ #include "bot/api.qh" #include "cheats.qh" #include "g_damage.qh" +#include "handicap.qh" #include "g_subs.qh" #include "miscfunctions.qh" #include "portals.qh"