clean up some warnings that I think I wasn't testing for

This commit is contained in:
Bill Currie 2007-04-28 05:17:55 +00:00 committed by Jeff Teunissen
parent b963665ad7
commit cfd71b87c4
3 changed files with 3 additions and 3 deletions

View file

@ -5,6 +5,6 @@ float FL_SWIM = 2;
void (entity other)
trigger_monsterjump_touch =
{
if (other.flags & (FL_MONSTER | FL_FLY | FL_SWIM) != FL_MONSTER)
if ((other.flags & (FL_MONSTER | FL_FLY | FL_SWIM)) != FL_MONSTER)
return;
};

View file

@ -45,7 +45,7 @@ typedef struct bot_data_t bot_data_t;
//local integer i = 2, tmp;
local unsigned u;
//tmp = (integer)links[i];
//for (u = 0; u < count; u++)
for (u = 0; u < count; u++)
[list[u] fix];
}

View file

@ -4,5 +4,5 @@ string (Object foo) getstr;
id (Object foo) bar =
{
return [foo error:"foo %s", getstr(foo)];
[foo error:"foo %s", getstr(foo)];
};