mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
CGameContext: Remove ugly CGameControllerDDRace::m_Teams.Reset()
We called CGameControllerDDRace constructor on the previous line. The CGameControllerDDRace invokes CGameTeams constructor which calls Reset() on his own. There is no chance how this can change anything.
This commit is contained in:
parent
5d0bb4cf3c
commit
dfd60e6668
|
@ -3162,7 +3162,6 @@ void CGameContext::OnInit(/*class IKernel *pKernel*/)
|
|||
}
|
||||
|
||||
m_pController = new CGameControllerDDRace(this);
|
||||
((CGameControllerDDRace *)m_pController)->m_Teams.Reset();
|
||||
|
||||
const char *pCensorFilename = "censorlist.txt";
|
||||
IOHANDLE File = Storage()->OpenFile(pCensorFilename, IOFLAG_READ, IStorage::TYPE_ALL);
|
||||
|
|
Loading…
Reference in a new issue