implemented amb92
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
#include "fakemeta_amxx.h"
|
||||
#include "sh_stack.h"
|
||||
|
||||
edict_t *g_player_edicts[33]; // Used for INDEXENT() forward.
|
||||
|
||||
@ -21,6 +22,16 @@ void OnAmxxAttach()
|
||||
g_kvd_glb.kvd = &g_kvd_2;
|
||||
}
|
||||
|
||||
extern CStack<TraceResult *> g_FreeTRs;
|
||||
void OnAmxxDetach()
|
||||
{
|
||||
while (!g_FreeTRs.empty())
|
||||
{
|
||||
delete g_FreeTRs.front();
|
||||
g_FreeTRs.pop();
|
||||
}
|
||||
}
|
||||
|
||||
int GetHullBounds(int hullnumber, float *mins, float *maxs);
|
||||
// sawce: Do not null out the forward for ServerActivate. It's required for the INDEXENT() fix. (I don't think ServerActivate is planned on being forwarded anyway)
|
||||
void ServerActivate(edict_t *pEdictList, int edictCount, int clientMax)
|
||||
|
Reference in New Issue
Block a user