C-CON: remove "found `gettspr' outside of EVENT_ANIMATESPRITES" warning.

Because one may obviously use gettspr/settspr in states called from that
event.

git-svn-id: https://svn.eduke32.com/eduke32@3820 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2013-05-28 19:52:45 +00:00
parent e71bc9d19d
commit a52130a996

View file

@ -3980,14 +3980,14 @@ static int32_t C_ParseCommand(int32_t loop)
case CON_SETTSPR: case CON_SETTSPR:
{ {
int32_t lLabelID; int32_t lLabelID;
#if 0
if (g_currentEvent != EVENT_ANIMATESPRITES) if (g_currentEvent != EVENT_ANIMATESPRITES)
{ {
C_ReportError(-1); C_ReportError(-1);
initprintf("%s:%d: warning: found `%s' outside of EVENT_ANIMATESPRITES\n",g_szScriptFileName,g_lineNumber,tempbuf); initprintf("%s:%d: warning: found `%s' outside of EVENT_ANIMATESPRITES\n",g_szScriptFileName,g_lineNumber,tempbuf);
g_numCompilerWarnings++; g_numCompilerWarnings++;
} }
#endif
// syntax getwall[<var>].x <VAR> // syntax getwall[<var>].x <VAR>
// gets the value of wall[<var>].xxx into <VAR> // gets the value of wall[<var>].xxx into <VAR>