- Removed the deprecation warnings for the state assignment commands

in DECORATE. While it is still recommended not to use them anymore
  they will continue to work with custom state support and existing 
  DECORATE code doesn't have to be changed. However, they will remain
  limited to the existing functionality, nothing more.


SVN r377 (trunk)
This commit is contained in:
Christoph Oelckers 2006-11-05 15:49:54 +00:00
commit 9c529b8aa4
3 changed files with 10 additions and 14 deletions

View file

@ -2474,16 +2474,14 @@ void ProcessActor(void (*process)(FState *, int))
//
// StatePropertyIsDeprecated
//
// Deprecated means it will be removed in a future version.
//
//==========================================================================
static void StatePropertyIsDeprecated (const char *actorname, const char *prop)
{
/*
static bool warned = false;
Printf (TEXTCOLOR_YELLOW "In actor %s, the %s property is deprecated and will be removed in 2.2.0.\n",
actorname, prop);
Printf (TEXTCOLOR_YELLOW "In actor %s, the %s property is deprecated.\n", actorname, prop);
if (!warned)
{
warned = true;
@ -2491,6 +2489,7 @@ static void StatePropertyIsDeprecated (const char *actorname, const char *prop)
TEXTCOLOR_YELLOW " %s:\n"
TEXTCOLOR_YELLOW " Goto <state>\n", prop, prop);
}
*/
}
//==========================================================================