| 3070 | } |
| 3071 | |
| 3072 | MovementObject* ASReadCharacter(int which) { |
| 3073 | if (which < 0 || which >= (int)the_scenegraph->movement_objects_.size()) { |
| 3074 | std::string callstack = active_context_stack.top()->GetCallstack(); |
| 3075 | FatalError("Error", "There is no movement object #%d\n Called from:\n%s", which, callstack.c_str()); |
| 3076 | } |
| 3077 | return (MovementObject*)the_scenegraph->movement_objects_[which]; |
| 3078 | } |
| 3079 | |
| 3080 | Hotspot* ASReadHotspot(int which) { |
| 3081 | if (which < 0 || which >= (int)the_scenegraph->hotspots_.size()) { |
nothing calls this directly
no test coverage detected