Reverted a CreateInstancedBaselines change due to a 31 character limit to enum symbols that causes a compiler warning

(Real function that FM uses is called CreateInstancedBaselines and is different from CreateInstancedBaseline...
So something should be done, but I'm not sure what yet)
This commit is contained in:
Scott Ehlert 2006-04-20 08:49:49 +00:00
parent b34557b839
commit 761e1f6fe1
2 changed files with 3 additions and 3 deletions

View File

@ -156,7 +156,7 @@ enum
DLLFunc_GetHullBounds, // int ) (int hullnumber, float *mins, float *maxs);
// Create baselines for certain "unplaced" items.
DLLFunc_CreateInstancedBaselines, // void ) ( void );
DLLFunc_CreateInstancedBaseline, // void ) ( void );
DLLFunc_pfnAllowLagCompensation, // int ) ( void );
// I know this does not fit with DLLFUNC(), but I dont want another native just for it.
MetaFunc_CallGameEntity, // bool ) (plid_t plid, const char *entStr,entvars_t *pev);

View File

@ -241,8 +241,8 @@ stock DF_RegisterEncoders()
stock DF_GetHullBounds(hullnumber, Float:mins[3], Float:maxs[3])
return dllfunc(DLLFunc_GetHullBounds, hullnumber, mins, maxs)
stock DF_CreateInstancedBaselines()
return dllfunc(DLLFunc_CreateInstancedBaselines)
stock DF_CreateInstancedBaseline()
return dllfunc(DLLFunc_CreateInstancedBaseline)
stock DF_pfnAllowLagCompensation()
return dllfunc(DLLFunc_pfnAllowLagCompensation)
stock DF_MetaFunc_CallGameEntity(const STRING[], const ENTITY)