Code: Select all
SetLineSpecial(LineID, 0, 0, 0, 0, 0, 0);
i.e., ClearlineSpecial(LineID); and ThrustThing(tid, angle, force);. Otherwise I can't specify which one I want to be cleared/thrusted.

Moderator: GZDoom Developers
Code: Select all
SetLineSpecial(LineID, 0, 0, 0, 0, 0, 0);
Code: Select all
ClearLineSpecial(14);
ClearLineSpecial(17);
ClearLineSpecial(19);
ClearLineSpecial(21);
ClearLineSpecial(28);
Code: Select all
function void ClearLineSpecial(int lineid) {
SetLineSpecial(lineid, 0, 0, 0, 0, 0, 0);
}
Oh, okay then.Graf Zahl wrote:No, for compatibility with the existing code it's the last arg.
Ah right, didn't think of that. Thanks both!Costja wrote:ace, I think you always can write:And IMHO you can include it into one of zcommon "headers".Code: Select all
function void ClearLineSpecial(int lineid) { SetLineSpecial(lineid, 0, 0, 0, 0, 0, 0); }