if(time > actor.(weaponentity).tuba_smoketime)
{
- vector o = gettaginfo(actor.exteriorweaponentity, 0);
- Send_Effect(EFFECT_SMOKE_RING, o + v_up * 45 + v_right * -6 + v_forward * 8, v_up * 100, 1);
+ // FIXME gettaginfo(actor.(weaponentity), 0) doesn't return the real origin of the weapon
+ vector org = gettaginfo(actor.(weaponentity), 0);
+ Send_Effect(EFFECT_SMOKE_RING, org + v_up * 45 + v_right * 10 + v_forward * 14, v_up * 100, 1);
actor.(weaponentity).tuba_smoketime = time + 0.25;
}
}