bool indicator_direction = direction < 0;
// invert left/right when strafing backwards or when strafing towards the opposite side indicated by the direction variable
// if both conditions are true then it's inverted twice hence not inverted at all
- if(!fwd != odd_angles)
+ if((!fwd) != odd_angles)
{
indicator_direction = !indicator_direction;
}
rpn_setf(rpn_getf() || f);
} else if(rpncmd == "xor" || rpncmd == "^^") {
f = rpn_popf();
- rpn_setf(!rpn_getf() != !f);
+ rpn_setf((!rpn_getf()) != !f);
} else if(rpncmd == "bitnot") {
rpn_setf(~rpn_popf());
} else if(rpncmd == "not") {
this.nextthink = time;
settouch(this, dompointtouch);
this.solid = SOLID_TRIGGER;
- if(!this.flags & FL_ITEM)
+ if(!(this.flags & FL_ITEM))
IL_PUSH(g_items, this);
this.flags = FL_ITEM;
setsize(this, '-32 -32 -32', '32 32 32');
string fn;
string s, t;
float fh;
- int f, i;
+ int i;
float r, n, p;
string acl;
}
else
{
- t = car(s); s = cdr(s); f = stof(t);
+ t = car(s); s = cdr(s); float tf = stof(t);
if(s != "")
{
if(WARN_COND)
}
else
{
- if(a >= d || b >= e || c >= f)
+ if(a >= d || b >= e || c >= tf)
{
if(WARN_COND)
LOG_WARN("Map ", pFilename, " contains an incorrect size line, mins have to be < maxs");
MapInfo_Map_mins.z = c;
MapInfo_Map_maxs.x = d;
MapInfo_Map_maxs.y = e;
- MapInfo_Map_maxs.z = f;
+ MapInfo_Map_maxs.z = tf;
}
}
}
#include "textlabel.qh"
#include "button.qh"
-void Handle_TimeDemo_Click(entity unused, entity unused) { demolist.timeDemo(demolist); }
+void Handle_TimeDemo_Click(entity unused, entity me) { demolist.timeDemo(demolist); }
void XonoticDemoTimeConfirmDialog_fill(entity me)
{
entity e;