misc/coverity_model.c
author alfadur
Tue, 11 Sep 2018 22:44:32 +0200
changeset 13774 506cca5a48cb
parent 10498 bcd1d7ad2f3e
permissions -rw-r--r--
Fix sinegun dealing 1 damage when shooting straight up. Reduces sine gun knockback strength by 1.25% This was caused by AmmoShove, which had a strenght which was *right* above the threshold for fall damage.

void fpcrtl_halt(int num) {
    __coverity_panic__();
}

int fpcrtl_abs(int num) {
    return num >= 0 ? num : -num;
}