- Changed the PowerTimeFreezer "blink" effect back to checking against

EffectTics (now + 1), because I wasn't convinced of the correctness of
  using level.time.
- Fixed: SC_CheckNumber() considered the empty string "" as the number 0.


SVN r586 (trunk)
This commit is contained in:
Randy Heit 2007-12-08 22:29:59 +00:00
commit 351ed8dcd1
3 changed files with 17 additions and 8 deletions

View file

@ -545,7 +545,12 @@ bool SC_CheckNumber (void)
//CheckOpen ();
if (SC_GetString())
{
if (strcmp (sc_String, "MAXINT") == 0)
if (sc_String[0] == 0)
{
SC_UnGet();
return false;
}
else if (strcmp (sc_String, "MAXINT") == 0)
{
sc_Number = INT_MAX;
}