From 2aedf135937794eb8c566cb993329b313353005b Mon Sep 17 00:00:00 2001 From: sucofog <4pdcvicente@gmail.com> Date: Sun, 10 Sep 2017 19:57:43 +0200 Subject: [PATCH] Fix warning under GCC Linux (#616) --- src/game/Battlefield/Battlefield.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/Battlefield/Battlefield.cpp b/src/game/Battlefield/Battlefield.cpp index b457743c0..854753b6b 100644 --- a/src/game/Battlefield/Battlefield.cpp +++ b/src/game/Battlefield/Battlefield.cpp @@ -838,7 +838,7 @@ GameObject* Battlefield::SpawnGameObject(uint32 entry, float x, float y, float z // ******************* CapturePoint ********************** // ******************************************************* -BfCapturePoint::BfCapturePoint(Battlefield* battlefield) : m_Bf(battlefield), m_capturePoint(NULL) +BfCapturePoint::BfCapturePoint(Battlefield* battlefield) : m_Bf(battlefield), m_capturePoint(0) { m_team = TEAM_NEUTRAL; m_value = 0;