| 3113 | } |
| 3114 | |
| 3115 | ItemObject* ASReadItemID(int which) { |
| 3116 | Object* obj = the_scenegraph->GetObjectFromID(which); |
| 3117 | if (!obj || obj->GetType() != _item_object) { |
| 3118 | std::string callstack = active_context_stack.top()->GetCallstack(); |
| 3119 | FatalError("Error", "There is no item object %d\n Called from:\n%s", which, callstack.c_str()); |
| 3120 | } |
| 3121 | return (ItemObject*)obj; |
| 3122 | } |
| 3123 | |
| 3124 | EnvObject* ASReadEnvObjectID(int which) { |
| 3125 | Object* obj = the_scenegraph->GetObjectFromID(which); |
nothing calls this directly
no test coverage detected