mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-28 21:54:15 +01:00
Re-bumped all version numbers again (SourceHook=2, Plugin=7/7)
Fixed bug where gamedlls setting new game names would not work Moved PM's virtual destructor to bottom of vtable --HG-- extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40117
This commit is contained in:
parent
3130242ca8
commit
71d74c6722
sourcemm
@ -55,8 +55,7 @@ public:
|
|||||||
{ return m_pOrig->GetTickInterval(); }
|
{ return m_pOrig->GetTickInterval(); }
|
||||||
virtual ServerClass *GetAllServerClasses( void )
|
virtual ServerClass *GetAllServerClasses( void )
|
||||||
{ return m_pOrig->GetAllServerClasses(); }
|
{ return m_pOrig->GetAllServerClasses(); }
|
||||||
virtual const char *GetGameDescription( void )
|
virtual const char *GetGameDescription( void );
|
||||||
{ return m_GameDescBuffer; }
|
|
||||||
virtual void CreateNetworkStringTables( void )
|
virtual void CreateNetworkStringTables( void )
|
||||||
{ m_pOrig->CreateNetworkStringTables(); }
|
{ m_pOrig->CreateNetworkStringTables(); }
|
||||||
virtual CSaveRestoreData *SaveInit( int size )
|
virtual CSaveRestoreData *SaveInit( int size )
|
||||||
|
@ -443,6 +443,18 @@ bool CServerGameDLL::LevelInit( char const *pMapName, char const *pMapEntities,
|
|||||||
return m_pOrig->LevelInit(pMapName, pMapEntities, pOldLevel, pLandmarkName, loadGame, background);
|
return m_pOrig->LevelInit(pMapName, pMapEntities, pOldLevel, pLandmarkName, loadGame, background);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char *CServerGameDLL::GetGameDescription()
|
||||||
|
{
|
||||||
|
if (m_pOrig)
|
||||||
|
{
|
||||||
|
const char *game = m_pOrig->GetGameDescription();
|
||||||
|
if (game)
|
||||||
|
strcpy(m_GameDescBuffer, game);
|
||||||
|
}
|
||||||
|
|
||||||
|
return m_GameDescBuffer;
|
||||||
|
}
|
||||||
|
|
||||||
#if defined __GNUC__ && (__GNUC__ == 3)
|
#if defined __GNUC__ && (__GNUC__ == 3)
|
||||||
void * ::operator new(size_t size) {
|
void * ::operator new(size_t size) {
|
||||||
return(calloc(1, size));
|
return(calloc(1, size));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user