renamed IsServerTicking() to IsServerProcessing()
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401467
This commit is contained in:
parent
4b8f46d870
commit
997bab506c
@ -310,7 +310,7 @@ static cell_t smn_ExtendMapTimeLimit(IPluginContext *pContext, const cell_t *par
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static cell_t smn_IsServerTicking(IPluginContext *pContext, const cell_t *params)
|
static cell_t smn_IsServerProcessing(IPluginContext *pContext, const cell_t *params)
|
||||||
{
|
{
|
||||||
return (gpGlobals->frametime > 0.0f) ? 1 : 0;
|
return (gpGlobals->frametime > 0.0f) ? 1 : 0;
|
||||||
}
|
}
|
||||||
@ -324,6 +324,6 @@ REGISTER_NATIVES(timernatives)
|
|||||||
{"GetMapTimeLeft", smn_GetMapTimeLeft},
|
{"GetMapTimeLeft", smn_GetMapTimeLeft},
|
||||||
{"GetMapTimeLimit", smn_GetMapTimeLimit},
|
{"GetMapTimeLimit", smn_GetMapTimeLimit},
|
||||||
{"ExtendMapTimeLimit", smn_ExtendMapTimeLimit},
|
{"ExtendMapTimeLimit", smn_ExtendMapTimeLimit},
|
||||||
{"IsServerTicking", smn_IsServerTicking},
|
{"IsServerProcessing", smn_IsServerProcessing},
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user