misc/coverity_model.c
author nemo
Tue, 29 Dec 2015 14:44:32 -0500
changeset 11468 2f6f8baa2a97
parent 10498 bcd1d7ad2f3e
permissions -rw-r--r--
Make weapon damage in most cases be a structure value and also expose it to lua. Needs testing/review due to conditions at time of doing this (w/ one arm, dizzy/tingling due to sodium citrate), and just number of places changed..

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

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