Fixed compile
This commit is contained in:
parent
a97f28939f
commit
528467bc5c
@ -2,7 +2,6 @@
|
|||||||
#include "Globals.h"
|
#include "Globals.h"
|
||||||
#include "FireworksSerializer.h"
|
#include "FireworksSerializer.h"
|
||||||
#include "WorldStorage/FastNBT.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
|
Colours are supposed to be calculated via: R << 16 + G << 8 + B
|
||||||
|
@ -77,7 +77,7 @@ public:
|
|||||||
static void FadeColoursFromString(const AString & a_String, cFireworkItem & a_FireworkItem);
|
static void FadeColoursFromString(const AString & a_String, cFireworkItem & a_FireworkItem);
|
||||||
|
|
||||||
/** Returns a colour code for fireworks used by the network code */
|
/** Returns a colour code for fireworks used by the network code */
|
||||||
static const inline int GetVanillaColourCodeFromDye(short a_DyeMeta);
|
static int GetVanillaColourCodeFromDye(short a_DyeMeta);
|
||||||
|
|
||||||
bool m_HasFlicker;
|
bool m_HasFlicker;
|
||||||
bool m_HasTrail;
|
bool m_HasTrail;
|
||||||
|
Loading…
Reference in New Issue
Block a user