Use ObjectAtPosition for debug object type display

The other use of dObject is displaying the contents of that array so makes sense to leave as is. We're also able to remove the map since we can reference the current object type value directly on the returned object.
This commit is contained in:
ephphatha 2021-10-29 17:55:27 +11:00 committed by Anders Jenbo
commit 903b661307
3 changed files with 3 additions and 8 deletions

View file

@ -22,7 +22,6 @@ extern bool DebugVision;
extern bool DebugGrid;
extern std::unordered_map<int, Point> DebugCoordsMap;
extern bool DebugScrollViewEnabled;
extern std::unordered_map<int, int> DebugIndexToObjectID;
void FreeDebugGFX();
void LoadDebugGFX();