mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +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)
|
void (entity other)
|
||||||
trigger_monsterjump_touch =
|
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;
|
return;
|
||||||
};
|
};
|
||||||
|
|
|
@ -45,7 +45,7 @@ typedef struct bot_data_t bot_data_t;
|
||||||
//local integer i = 2, tmp;
|
//local integer i = 2, tmp;
|
||||||
local unsigned u;
|
local unsigned u;
|
||||||
//tmp = (integer)links[i];
|
//tmp = (integer)links[i];
|
||||||
//for (u = 0; u < count; u++)
|
for (u = 0; u < count; u++)
|
||||||
[list[u] fix];
|
[list[u] fix];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,5 +4,5 @@ string (Object foo) getstr;
|
||||||
|
|
||||||
id (Object foo) bar =
|
id (Object foo) bar =
|
||||||
{
|
{
|
||||||
return [foo error:"foo %s", getstr(foo)];
|
[foo error:"foo %s", getstr(foo)];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue