misc/coverity_model.c
author nemo
Thu, 01 Jan 2015 12:43:00 -0500
changeset 10736 5b7cf9fcb47e
parent 10498 bcd1d7ad2f3e
permissions -rw-r--r--
Try to handle negative gravity w/ snow. Still needs to look nicer. Currently causes banding.

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

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