misc/coverity_model.c
author Wuzzy <Wuzzy2@mail.ru>
Sun, 22 Oct 2017 00:48:38 +0200
changeset 12741 7cbb0241d31c
parent 10498 bcd1d7ad2f3e
permissions -rw-r--r--
Wrap around target coordinates when clicking on other side of wrap-around world edge This fixes girder placement failure on other side (not across).

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

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