Skip to content
Permalink
Browse files

- removed unused code from serializer

  • Loading branch information
alexey-lysiuk committed Nov 27, 2019
1 parent fdd1740 commit 628b2ef97fbfd3705221af1604f2ce0a57d902d3
Showing with 0 additions and 4 deletions.
  1. +0 −4 src/serializer.cpp
@@ -61,7 +61,6 @@
#include "g_levellocals.h"
#include "utf8.h"

char nulspace[1024 * 1024 * 4];
bool save_full = false; // for testing. Should be removed afterward.

//==========================================================================
@@ -298,15 +297,12 @@ struct FReader
rapidjson::Document mDoc;
TArray<DObject *> mDObjects;
rapidjson::Value *mKeyValue = nullptr;
int mPlayers[MAXPLAYERS];
bool mObjectsRead = false;

FReader(const char *buffer, size_t length)
{
rapidjson::Document doc;
mDoc.Parse(buffer, length);
mObjects.Push(FJSONObject(&mDoc));
memset(mPlayers, -1, sizeof(mPlayers));
}

rapidjson::Value *FindKey(const char *key)

0 comments on commit 628b2ef

Please sign in to comment.
You can’t perform that action at this time.