Style 'void foo() {' -> 'void foo()\n{'

This commit is contained in:
ChillerDragon 2019-12-21 14:35:09 +01:00
parent 70e06d8889
commit 928e5407eb
3 changed files with 6 additions and 3 deletions

View file

@ -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); void* pData = m_pCommandBuffer->AllocData(AllocSize);
if(pData == 0x0) if(pData == 0x0)
{ {

View file

@ -960,7 +960,8 @@ int CLayerTiles::RenderProperties(CUIRect *pToolBox)
return 0; 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; m_pEditor->m_Map.m_Modified = true;
if (m_Seed != 0 && m_AutoMapperConfig != -1 && m_AutoAutoMap) { 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); m_pEditor->m_Map.m_lImages[m_Image]->m_AutoMapper.ProceedLocalized(this, m_AutoMapperConfig, m_Seed, x, y, w, h);

View file

@ -3490,7 +3490,8 @@ void CGameContext::List(int ClientID, const char *pFilter)
SendChatTarget(ClientID, aBuf); SendChatTarget(ClientID, aBuf);
} }
int CGameContext::GetClientVersion(int ClientID) { int CGameContext::GetClientVersion(int ClientID)
{
return m_apPlayers[ClientID] return m_apPlayers[ClientID]
? m_apPlayers[ClientID]->m_ClientVersion ? m_apPlayers[ClientID]->m_ClientVersion
: 0; : 0;