






CSnapshot and CSnapshotDelta are for?





























Thread 1 "DDNet" received signal SIGSEGV, Segmentation fault.
0x000055555590387e in __gnu_cxx::__normal_iterator<std::unique_ptr*, std::vector<std::unique_ptr, std::allocator<std::unique_ptr > > >::__normal_iterator (
this=0x7fffffffd430,
__i=)
at /usr/include/c++/14.2.1/bits/stl_iterator.h:1068
1068 : _M_current(__i) { }
backtrace: bt, [bt-full](https://zwelf.strct.cc/d...











































































% \f is defined as #1f(#2) using the macro
\f\relax{x} = \int_{-\infty}^\infty
\f\hat\xi\,e^{2 \pi i \xi x}
\,d\xi




























i love devchat!


















































































































































you.. are an admin..








































CGameClient::OnWindowResize to be called before the client is initialized. I guess it would be fixed by swapping the order of the Graphics()->AddWindowResizeListener and GameClient()->OnInit calls since the client and its components should not handle window resize events when the client hasn't been initialized yet.


CGameClient::OnInit function



OnInit is the whole loading screen basically









if(m_aNamePlates) // FIXME: remove when OnWindowResize is no longer called before OnInit














OnWindowRefresh is only used to update text containers though, not sure if any text containers are already created in OnInit which would make queueing necessary

OnWindowResize*











OnWindowRefresh is only used to update text containers though, not sure if any text containers are already created in OnInit which would make queueing necessary 












CNamePlate *m_aNamePlates = nullptr;








void CNamePlates::OnInit()
{
m_aNamePlates = new CNamePlate[MAX_CLIENTS];
}





AddWindowResizeListener




void CNamePlates::OnInit()
{
m_aNamePlates = new CNamePlate[MAX_CLIENTS];
} 









MAX_CLIENTS or what?



if(m_Inited)
return;
m_Inited = true;





if(m_Inited)
return;
m_Inited = true;



















( and failing)








fix_style.py should check for the correct version though




// comment


// comment 











m_pNamePlates is now inited in constructer instead of OnInit so it can handle resize's before OnInit
Should close #9808












int a[5]
auto b = a + 1;































typedef int atype[10];
typedef atype *patype;
int a[10];
patype p = &a[0];






atype would be illegal












int a[] = {1, 2, 3};
int *b = {1, 2, 3};













































