When using the "Hill" type, SCR_MapLocator will throw an error.
Description
Description
Details
Details
- Severity
- Trivial
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10
- Category
- General
Steps To Reproduce
- Create a GenericEntity with SCR_EditableCommentComponent and SCR_MapDescriptorComponent.
- Edit the SCR_MapDescriptorComponent: Set a display name and its type to "Hill" (not "Name Hill").
- Name and icon will be displayed correctly on the map.
- Add an SCR_MapLocator entity, move the player near it.
- When you open the map, a NULL Pointer Exception will occur in line 93 of SCR_MapLocator::CalculateClosestLocation(), it seems it cannot correctly get the MapItem.