mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Style 'void foo() {' -> 'void foo()\n{'
This commit is contained in:
parent
70e06d8889
commit
928e5407eb
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
@ -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);
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue