mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
clean up some warnings that I think I wasn't testing for
This commit is contained in:
parent
b963665ad7
commit
cfd71b87c4
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
};
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
|
@ -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)];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue