- 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:
parent
f76ef6ffc2
commit
351ed8dcd1
3 changed files with 17 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue