gun_y = (sy - ts_offs_y) * ts_multiplier_y >> 10;
limit(gun_x, 0, 1023);
limit(gun_y, 0, 1023);
- if (sp && !(g_opts & OPT_TSGUN_NOTRIGGER))
+ if (sp)
gun_in |= 1;
else
gun_in &= ~1;
*x = gun_x;
*y = gun_y;
- *in = gun_in | in_state_gun;
+ *in = gun_in;
}
void pl_set_gun_rect(int x, int y, int w, int h)