| 88 | } |
| 89 | |
| 90 | bool noteditmode(const char* func) |
| 91 | { |
| 92 | if(!editmode) |
| 93 | { |
| 94 | if(func && func[0]!='\0') conoutf("\f4[\f3%s\f4]\f5 is only allowed in edit mode", func); |
| 95 | else conoutf("this function is only allowed in edit mode"); |
| 96 | } |
| 97 | return !editmode; |
| 98 | } |
| 99 | |
| 100 | inline bool selset() |
| 101 | { |
no test coverage detected