mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-12 19:28:21 +00:00
Remove unused problematic code
This commit is contained in:
parent
2a0f63c0a1
commit
4353f37d00
@ -30,12 +30,6 @@ public:
|
|||||||
struct SceneObjectDataChunk {
|
struct SceneObjectDataChunk {
|
||||||
std::map<LWOOBJID, SceneObject> objects;
|
std::map<LWOOBJID, SceneObject> objects;
|
||||||
|
|
||||||
SceneObject& GetObject(LWOOBJID id) {
|
|
||||||
for (std::map<LWOOBJID, SceneObject>::iterator it = objects.begin(); it != objects.end(); ++it) {
|
|
||||||
if (it->first == id) return it->second;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
const void PrintAllObjects() {
|
const void PrintAllObjects() {
|
||||||
for (std::map<LWOOBJID, SceneObject>::iterator it = objects.begin(); it != objects.end(); ++it) {
|
for (std::map<LWOOBJID, SceneObject>::iterator it = objects.begin(); it != objects.end(); ++it) {
|
||||||
std::cout << "\t ID: " << it->first << " LOT: " << it->second.lot << std::endl;
|
std::cout << "\t ID: " << it->first << " LOT: " << it->second.lot << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user