mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-12-01 13:24:25 +01:00
DS suggested we do this...
--HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4024
This commit is contained in:
parent
0d5424c5b4
commit
9e524e6999
@ -28,13 +28,12 @@ class CServerGameDLL : public IServerGameDLL
|
||||
public:
|
||||
CServerGameDLL() : m_pOrig(0)
|
||||
{
|
||||
m_GameDescBuffer[0] = 0;
|
||||
strcpy(m_GameDescBuffer, "Metamod:Source");
|
||||
}
|
||||
void SetOrig(IServerGameDLL *pOrig)
|
||||
{
|
||||
m_pOrig = pOrig;
|
||||
strncpy(m_GameDescBuffer, pOrig->GetGameDescription(), 254);
|
||||
m_GameDescBuffer[255] = 0;
|
||||
snprintf(m_GameDescBuffer, 255, "%s", pOrig->GetGameDescription());
|
||||
}
|
||||
|
||||
virtual bool DLLInit( CreateInterfaceFn engineFactory, CreateInterfaceFn physicsFactory, CreateInterfaceFn fileSystemFactory, CGlobalVars *pGlobals);
|
||||
|
Loading…
Reference in New Issue
Block a user