| 233 | } |
| 234 | |
| 235 | void CScriptGameObject::enable_memory_object(CScriptGameObject* game_object, bool enable) |
| 236 | { |
| 237 | CCustomMonster* monster = smart_cast<CCustomMonster*>(&object()); |
| 238 | if (!monster) |
| 239 | ai().script_engine().script_log(ScriptStorage::eLuaMessageTypeError, "CGameObject : cannot access class member enable_memory_object!"); |
| 240 | else |
| 241 | monster->memory().enable(&game_object->object(), enable); |
| 242 | } |
| 243 | |
| 244 | const xr_vector<CNotYetVisibleObject>& CScriptGameObject::not_yet_visible_objects() const |
| 245 | { |
nothing calls this directly
no test coverage detected