Added #pragma deprecated to GetEntDataEnt() and SetEntDataEnt()

(these were already considered deprecated, but now the compiler will officially complain about them)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402225
This commit is contained in:
Scott Ehlert 2008-05-30 22:42:30 +00:00
parent 5b4f98b354
commit d595e020cd

View File

@ -273,10 +273,11 @@ native SetEntDataFloat(entity, offset, Float:value, bool:changeState=false);
* @return Entity index at the given location, or 0 if none.
* @error Invalid entity or offset out of reasonable bounds.
*/
#pragma deprecated Use GetEntDataEnt2() instead.
native GetEntDataEnt(entity, offset);
/**
* This function is deprecated. Use GetEntDataEnt2 instead, for
* This function is deprecated. Use SetEntDataEnt2 instead, for
* reasons explained in the notes.
*
* Note: This function uses 0 as an indicator to unset data, but
@ -290,6 +291,7 @@ native GetEntDataEnt(entity, offset);
* @noreturn
* @error Invalid entity or offset out of reasonable bounds.
*/
#pragma deprecated Use SetEntDataEnt2() instead.
native SetEntDataEnt(entity, offset, other, bool:changeState=false);
/**