From 20e8bfd12aaa5a055c7f2d5f8956198578140f32 Mon Sep 17 00:00:00 2001 From: def Date: Sun, 9 Aug 2020 15:19:13 +0200 Subject: [PATCH] Try to fix Windows build --- src/game/server/entities/character.h | 1 - src/game/server/entities/plasma.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/game/server/entities/character.h b/src/game/server/entities/character.h index 40114cb79..8a7657a9a 100644 --- a/src/game/server/entities/character.h +++ b/src/game/server/entities/character.h @@ -13,7 +13,6 @@ class CAntibot; class CGameTeams; -class CSaveTee; struct CAntibotCharacterData; enum diff --git a/src/game/server/entities/plasma.cpp b/src/game/server/entities/plasma.cpp index 6172173c8..b71ff5faa 100644 --- a/src/game/server/entities/plasma.cpp +++ b/src/game/server/entities/plasma.cpp @@ -7,7 +7,7 @@ #include #include "plasma.h" -const float ACCEL = 1.1f; +const float PLASMA_ACCEL = 1.1f; CPlasma::CPlasma(CGameWorld *pGameWorld, vec2 Pos, vec2 Dir, bool Freeze, bool Explosive, int ResponsibleTeam) : @@ -44,7 +44,7 @@ bool CPlasma::HitCharacter() void CPlasma::Move() { m_Pos += m_Core; - m_Core *= ACCEL; + m_Core *= PLASMA_ACCEL; } void CPlasma::Reset()