From: Mario Date: Tue, 20 Jun 2017 23:30:49 +0000 (+1000) Subject: Fix compile X-Git-Tag: xonotic-v0.8.5~7^2~1^2~82 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f4ff4338b069158318a4963750698fbabdb959f1;p=xonotic%2Fxonotic-data.pk3dir.git Fix compile --- diff --git a/qcsrc/common/monsters/monster/troll.qc b/qcsrc/common/monsters/monster/troll.qc index e66271d75a..312745892f 100644 --- a/qcsrc/common/monsters/monster/troll.qc +++ b/qcsrc/common/monsters/monster/troll.qc @@ -1,6 +1,3 @@ -// TODO -#ifndef IMPLEMENTATION - #include "troll.qh" #ifdef SVQC @@ -111,5 +108,3 @@ METHOD(Troll, mr_setup, bool(Troll this, entity actor)) return true; } #endif - -#endif diff --git a/qcsrc/server/defs.qh b/qcsrc/server/defs.qh index c76ff29efd..7f0c2610f9 100644 --- a/qcsrc/server/defs.qh +++ b/qcsrc/server/defs.qh @@ -468,9 +468,6 @@ STATIC_INIT(g_bot_dodge) { g_bot_dodge = IL_NEW(); } IntrusiveList g_damagedbycontents; STATIC_INIT(g_damagedbycontents) { g_damagedbycontents = IL_NEW(); } -IntrusiveList g_monster_targets; -STATIC_INIT(g_monster_targets) { g_monster_targets = IL_NEW(); } - IntrusiveList g_railgunhit; STATIC_INIT(g_railgunhit) { g_railgunhit = IL_NEW(); }