Updated all module SDKs to stop the most annoying issue ever: amxxmodule.h required size_t but did not include stddef.h

Also stopped dodfun, dodx, tfcx and tsx from loading on games other than the ones they are designed for.
This commit is contained in:
Steve Dudenhoeffer
2008-04-29 06:53:55 +00:00
parent f410ea743d
commit 240c92e20f
42 changed files with 11497 additions and 11198 deletions

View File

@ -294,6 +294,13 @@ void SetModel_Post(edict_t *e, const char *m)
RETURN_META(MRES_IGNORED);
}
int AmxxCheckGame(const char *game)
{
if (strcasecmp(game, "dod") == 0)
return AMXX_GAME_OK;
return AMXX_GAME_BAD;
}
void OnAmxxAttach()
{
MF_AddNatives( base_Natives );