mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-13 19:58:21 +00:00
Remove unused problematic code (#1115)
This commit is contained in:
parent
1a74c028c2
commit
0d6bd33f9e
@ -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