From b9977a39c35ff3c61bfc15f99b3dd12b5ff245f4 Mon Sep 17 00:00:00 2001 From: gushromp Date: Mon, 15 Dec 2014 18:41:47 +0100 Subject: Added braces to 'if' according to the code guidelines --- src/Entities/Player.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/Entities/Player.cpp b/src/Entities/Player.cpp index abeeef6a5..15920d6cf 100644 --- a/src/Entities/Player.cpp +++ b/src/Entities/Player.cpp @@ -1606,7 +1606,9 @@ bool cPlayer::DoMoveToWorld(cWorld * a_World, bool a_ShouldSendRespawn) // Send current weather of target world to player if (a_World->GetDimension() == dimOverworld) + { m_ClientHandle->SendWeather(a_World->GetWeather()); + } return true; } -- cgit v1.2.3