| MG Mud User | 88f1247 | 2016-06-24 23:31:02 +0200 | [diff] [blame] | 1 | /* This sefun is to provide a replacement for the efun query_once_interactive(). |
| 2 | * Feel free to add it to your mudlibs, if you have much code relying on that. | ||||
| 3 | */ | ||||
| 4 | |||||
| 5 | #if ! __EFUN_DEFINED__(query_once_interactive) | ||||
| 6 | |||||
| 7 | #include <object_info.h> | ||||
| 8 | |||||
| 9 | int query_once_interactive(object ob) | ||||
| 10 | { | ||||
| 11 | return efun::object_info(ob, OI_ONCE_INTERACTIVE); | ||||
| 12 | } | ||||
| 13 | |||||
| 14 | #endif | ||||