diff --git a/src/engine/client/graphics_threaded.cpp b/src/engine/client/graphics_threaded.cpp index 4e9bf33bd..d4c939cb6 100644 --- a/src/engine/client/graphics_threaded.cpp +++ b/src/engine/client/graphics_threaded.cpp @@ -1647,7 +1647,8 @@ void CGraphics_Threaded::RenderQuadContainerAsSpriteMultiple(int ContainerIndex, } } -void* CGraphics_Threaded::AllocCommandBufferData(unsigned AllocSize) { +void* CGraphics_Threaded::AllocCommandBufferData(unsigned AllocSize) +{ void* pData = m_pCommandBuffer->AllocData(AllocSize); if(pData == 0x0) { diff --git a/src/game/editor/layer_tiles.cpp b/src/game/editor/layer_tiles.cpp index f7129850c..1d9926617 100644 --- a/src/game/editor/layer_tiles.cpp +++ b/src/game/editor/layer_tiles.cpp @@ -960,7 +960,8 @@ int CLayerTiles::RenderProperties(CUIRect *pToolBox) return 0; } -void CLayerTiles::FlagModified(int x, int y, int w, int h) { +void CLayerTiles::FlagModified(int x, int y, int w, int h) +{ m_pEditor->m_Map.m_Modified = true; if (m_Seed != 0 && m_AutoMapperConfig != -1 && m_AutoAutoMap) { m_pEditor->m_Map.m_lImages[m_Image]->m_AutoMapper.ProceedLocalized(this, m_AutoMapperConfig, m_Seed, x, y, w, h); diff --git a/src/game/server/gamecontext.cpp b/src/game/server/gamecontext.cpp index aa6e7adc9..3c588b7c3 100644 --- a/src/game/server/gamecontext.cpp +++ b/src/game/server/gamecontext.cpp @@ -3490,7 +3490,8 @@ void CGameContext::List(int ClientID, const char *pFilter) SendChatTarget(ClientID, aBuf); } -int CGameContext::GetClientVersion(int ClientID) { +int CGameContext::GetClientVersion(int ClientID) +{ return m_apPlayers[ClientID] ? m_apPlayers[ClientID]->m_ClientVersion : 0;