From 0d6bd33f9e592e3a4ef016dc3fc4b8f29cf8e7f1 Mon Sep 17 00:00:00 2001 From: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> Date: Fri, 16 Jun 2023 21:30:28 -0700 Subject: [PATCH] Remove unused problematic code (#1115) --- dZoneManager/Level.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dZoneManager/Level.h b/dZoneManager/Level.h index 83daeedb..0f8fa72d 100644 --- a/dZoneManager/Level.h +++ b/dZoneManager/Level.h @@ -30,12 +30,6 @@ public: struct SceneObjectDataChunk { std::map objects; - SceneObject& GetObject(LWOOBJID id) { - for (std::map::iterator it = objects.begin(); it != objects.end(); ++it) { - if (it->first == id) return it->second; - } - } - const void PrintAllObjects() { for (std::map::iterator it = objects.begin(); it != objects.end(); ++it) { std::cout << "\t ID: " << it->first << " LOT: " << it->second.lot << std::endl;