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:
Alexander Akulich 2021-01-11 23:06:10 +03:00
parent 5d0bb4cf3c
commit dfd60e6668

View file

@ -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);