Code: Select all
if ((GetPlayerInput(MODINPUT_BUTTONS & BT_ALTATTACK) &&
!(GetPlayerInput(MODINPUT_OLDBUTTONS & BT_ALTATTACK))
Although, in fairness, I don't expect much being doable for this situation, aside from parenthesis count being off...
Moderator: GZDoom Developers
Code: Select all
if ((GetPlayerInput(MODINPUT_BUTTONS & BT_ALTATTACK) &&
!(GetPlayerInput(MODINPUT_OLDBUTTONS & BT_ALTATTACK))