mirror of
https://github.com/accelerator74/l4dtoolz.git
synced 2024-12-22 22:47:27 +08:00
Update l4dtoolz_mm.cpp
This commit is contained in:
parent
679b6f54c0
commit
e1a6182665
@ -119,7 +119,9 @@ bool l4dtoolz::Load(PluginId id, ISmmAPI *ismm, char *error, size_t maxlen, bool
|
|||||||
int* m_nMaxClientsLimit = (int*)(((uint**)g_pGameIServer)+maxplayers_offs);
|
int* m_nMaxClientsLimit = (int*)(((uint**)g_pGameIServer)+maxplayers_offs);
|
||||||
if (*m_nMaxClientsLimit != 0x12) {
|
if (*m_nMaxClientsLimit != 0x12) {
|
||||||
Warning("Couldn't patch maxplayers\n");
|
Warning("Couldn't patch maxplayers\n");
|
||||||
|
if (!late) {
|
||||||
g_pGameIServer = NULL;
|
g_pGameIServer = NULL;
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
*m_nMaxClientsLimit = 0x20;
|
*m_nMaxClientsLimit = 0x20;
|
||||||
const char *pszCmdLineMax;
|
const char *pszCmdLineMax;
|
||||||
|
Loading…
Reference in New Issue
Block a user