| 209 | } |
| 210 | |
| 211 | u16 CMapManager::HasMapLocation(const shared_str& spot_type, u16 id) |
| 212 | { |
| 213 | CMapLocation* l = GetMapLocation(spot_type, id); |
| 214 | |
| 215 | return (l) ? l->RefCount() : 0; |
| 216 | } |
| 217 | |
| 218 | CMapLocation* CMapManager::GetMapLocation(const shared_str& spot_type, u16 id) |
| 219 | { |
no test coverage detected