| 3105 | } |
| 3106 | |
| 3107 | ItemObject* ASReadItem(int which) { |
| 3108 | if (which < 0 || which >= (int)the_scenegraph->item_objects_.size()) { |
| 3109 | std::string callstack = active_context_stack.top()->GetCallstack(); |
| 3110 | FatalError("Error", "There is no item object %d\n Called from:\n%s", which, callstack.c_str()); |
| 3111 | } |
| 3112 | return (ItemObject*)the_scenegraph->item_objects_[which]; |
| 3113 | } |
| 3114 | |
| 3115 | ItemObject* ASReadItemID(int which) { |
| 3116 | Object* obj = the_scenegraph->GetObjectFromID(which); |
nothing calls this directly
no test coverage detected