diff options
author | Mattes D <github@xoft.cz> | 2014-07-24 22:28:42 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-07-24 22:28:42 +0200 |
commit | 741fd41781d455c2b8e821bf2a1211a734afbd24 (patch) | |
tree | 1fa7a405639450c289090e0412f092bc92b6dfbe /src/WorldStorage | |
parent | Added a queue for setting chunk data. (diff) | |
parent | Made redundant semi not an error, fixed one more. (diff) | |
download | cuberite-741fd41781d455c2b8e821bf2a1211a734afbd24.tar cuberite-741fd41781d455c2b8e821bf2a1211a734afbd24.tar.gz cuberite-741fd41781d455c2b8e821bf2a1211a734afbd24.tar.bz2 cuberite-741fd41781d455c2b8e821bf2a1211a734afbd24.tar.lz cuberite-741fd41781d455c2b8e821bf2a1211a734afbd24.tar.xz cuberite-741fd41781d455c2b8e821bf2a1211a734afbd24.tar.zst cuberite-741fd41781d455c2b8e821bf2a1211a734afbd24.zip |
Diffstat (limited to 'src/WorldStorage')
-rw-r--r-- | src/WorldStorage/FastNBT.h | 2 | ||||
-rw-r--r-- | src/WorldStorage/WorldStorage.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/WorldStorage/FastNBT.h b/src/WorldStorage/FastNBT.h index 7aa83fc24..4ef72e379 100644 --- a/src/WorldStorage/FastNBT.h +++ b/src/WorldStorage/FastNBT.h @@ -160,7 +160,7 @@ public: /** Returns the direct child tag of the specified name, or -1 if no such tag. */ int FindChildByName(int a_Tag, const char * a_Name, size_t a_NameLength = 0) const; - /** Returns the child tag of the specified path (Name1\Name2\Name3...), or -1 if no such tag. */ + /** Returns the child tag of the specified path (Name1/Name2/Name3...), or -1 if no such tag. */ int FindTagByPath(int a_Tag, const AString & a_Path) const; eTagType GetType(int a_Tag) const { return m_Tags[(size_t)a_Tag].m_Type; } diff --git a/src/WorldStorage/WorldStorage.h b/src/WorldStorage/WorldStorage.h index 2d5d9c830..978a5b5d1 100644 --- a/src/WorldStorage/WorldStorage.h +++ b/src/WorldStorage/WorldStorage.h @@ -103,11 +103,11 @@ protected: struct FuncTable { - static void Delete(sChunkLoad) {}; + static void Delete(sChunkLoad) {} static void Combine(sChunkLoad & a_orig, const sChunkLoad a_new) { a_orig.m_Generate |= a_new.m_Generate; - }; + } }; typedef cQueue<sChunkLoad, FuncTable> sChunkLoadQueue; |