From 761e1f6fe196a0cdde42b52fa7c5f28105fa736e Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Thu, 20 Apr 2006 08:49:49 +0000 Subject: [PATCH] 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) --- plugins/include/fakemeta_const.inc | 2 +- plugins/include/fakemeta_stocks.inc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/include/fakemeta_const.inc b/plugins/include/fakemeta_const.inc index 245ba4c7..fdc27c4e 100755 --- a/plugins/include/fakemeta_const.inc +++ b/plugins/include/fakemeta_const.inc @@ -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); diff --git a/plugins/include/fakemeta_stocks.inc b/plugins/include/fakemeta_stocks.inc index dfeb62b2..e507c519 100755 --- a/plugins/include/fakemeta_stocks.inc +++ b/plugins/include/fakemeta_stocks.inc @@ -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)