mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #2012 from ChillerDragon/pr_func_style
Style 'void foo() {' -> 'void foo()\n{'
This commit is contained in:
commit
83f2fc2669
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue