summaryrefslogtreecommitdiffstats
path: root/src/WorldStorage
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-07-23 00:36:13 +0200
committerarchshift <admin@archshift.com>2014-07-24 20:21:37 +0200
commit4191be7ddba820af4ed0c505a8d62416c2b7a8b4 (patch)
tree23d92e889d345d33e302aeb5e699fb92bbadc04b /src/WorldStorage
parentAdded a queue for setting chunk data. (diff)
downloadcuberite-4191be7ddba820af4ed0c505a8d62416c2b7a8b4.tar
cuberite-4191be7ddba820af4ed0c505a8d62416c2b7a8b4.tar.gz
cuberite-4191be7ddba820af4ed0c505a8d62416c2b7a8b4.tar.bz2
cuberite-4191be7ddba820af4ed0c505a8d62416c2b7a8b4.tar.lz
cuberite-4191be7ddba820af4ed0c505a8d62416c2b7a8b4.tar.xz
cuberite-4191be7ddba820af4ed0c505a8d62416c2b7a8b4.tar.zst
cuberite-4191be7ddba820af4ed0c505a8d62416c2b7a8b4.zip
Diffstat (limited to 'src/WorldStorage')
-rw-r--r--src/WorldStorage/FastNBT.h2
-rw-r--r--src/WorldStorage/WorldStorage.h4
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;