diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-27 22:48:49 +0100 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-02-27 22:48:49 +0100 |
commit | 528467bc5c514d8ef193c4e9dd06fb5aeb9f0dd9 (patch) | |
tree | 95b00086294685b2ec426a401d6d570d19d8426a /src/WorldStorage/FireworksSerializer.cpp | |
parent | Fixed sheep ASSERTing sometimes (diff) | |
download | cuberite-528467bc5c514d8ef193c4e9dd06fb5aeb9f0dd9.tar cuberite-528467bc5c514d8ef193c4e9dd06fb5aeb9f0dd9.tar.gz cuberite-528467bc5c514d8ef193c4e9dd06fb5aeb9f0dd9.tar.bz2 cuberite-528467bc5c514d8ef193c4e9dd06fb5aeb9f0dd9.tar.lz cuberite-528467bc5c514d8ef193c4e9dd06fb5aeb9f0dd9.tar.xz cuberite-528467bc5c514d8ef193c4e9dd06fb5aeb9f0dd9.tar.zst cuberite-528467bc5c514d8ef193c4e9dd06fb5aeb9f0dd9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/WorldStorage/FireworksSerializer.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/WorldStorage/FireworksSerializer.cpp b/src/WorldStorage/FireworksSerializer.cpp index eeb4e39ee..7f5077912 100644 --- a/src/WorldStorage/FireworksSerializer.cpp +++ b/src/WorldStorage/FireworksSerializer.cpp @@ -2,7 +2,6 @@ #include "Globals.h" #include "FireworksSerializer.h" #include "WorldStorage/FastNBT.h" -#include <sstream> @@ -219,7 +218,7 @@ void cFireworkItem::FadeColoursFromString(const AString & a_String, cFireworkIte -int GetVanillaColourCodeFromDye(short a_DyeMeta) +int cFireworkItem::GetVanillaColourCodeFromDye(short a_DyeMeta) { /* Colours are supposed to be calculated via: R << 16 + G << 8 + B |