| 662 | } |
| 663 | |
| 664 | int execute(const char *p) |
| 665 | { |
| 666 | char *ret = executeret(p); |
| 667 | int i = 0; |
| 668 | if(ret) { i = ATOI(ret); delete[] ret; } |
| 669 | return i; |
| 670 | } |
| 671 | |
| 672 | #ifndef STANDALONE |
| 673 | bool exechook(int context, const char *ident, const char *body,...) // execute cubescript hook if available and allowed in current context/gamemode |
no test coverage detected