Skip to content

Commit 7d92be0

Browse files
committed
We *can't* ignore empty doors...
1 parent 07feb8d commit 7d92be0

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/MAP.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,6 @@ nlohmann::ordered_json MapFile::to_json()
298298
{
299299
for (auto i = 0; i < 6; i++)
300300
{
301-
// ignore empty entires
302-
if(entry.doors->modelId[i] == 255)
303-
continue;
304301
json["door"][i]["model_id"] = entry.doors->modelId[i];
305302
json["door"][i]["position"]["x"] = entry.doors->posX[i];
306303
json["door"][i]["position"]["y"] = entry.doors->posY[i];

0 commit comments

Comments
 (0)