| 66 | } |
| 67 | |
| 68 | void CClientSpawnManager::remove(REQUESTED_REGISTRY& registry, ALife::_OBJECT_ID requesting_id, ALife::_OBJECT_ID requested_id, bool no_warning) |
| 69 | { |
| 70 | REQUESTED_REGISTRY::iterator I = registry.find(requested_id); |
| 71 | if (I == registry.end()) |
| 72 | { |
| 73 | ai().script_engine().script_log(eLuaMessageTypeError, "There is no spawn callback on object with id %d from object with id %d!", requesting_id, requested_id); |
| 74 | return; |
| 75 | } |
| 76 | |
| 77 | registry.erase(I); |
| 78 | } |
| 79 | |
| 80 | void CClientSpawnManager::remove(ALife::_OBJECT_ID requesting_id, ALife::_OBJECT_ID requested_id) |
| 81 | { |
nothing calls this directly
no test coverage detected