misc/coverity_model.c
author sheepluva
Tue, 16 Dec 2014 22:30:17 +0100
changeset 10680 4a4a82686e91
parent 10498 bcd1d7ad2f3e
permissions -rw-r--r--
issue #871 in hedgewars: "Hedgehog dropping into water while still attached to a rope makes engine crash" Due to doStepRopeWork's being completely skipped 75% of the ticks - including drowning/detachment-condition checks

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

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