Fixed multiple gcc warnings about unused params.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include "Painting.h"
|
||||
#include "ClientHandle.h"
|
||||
#include "Player.h"
|
||||
#include "../Chunk.h"
|
||||
|
||||
|
||||
|
||||
@@ -30,6 +31,16 @@ void cPainting::SpawnOn(cClientHandle & a_Client)
|
||||
|
||||
|
||||
|
||||
void cPainting::Tick(float a_Dt, cChunk & a_Chunk)
|
||||
{
|
||||
UNUSED(a_Dt);
|
||||
UNUSED(a_Chunk);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
void cPainting::GetDrops(cItems & a_Items, cEntity * a_Killer)
|
||||
{
|
||||
if ((a_Killer != NULL) && a_Killer->IsPlayer() && !((cPlayer *)a_Killer)->IsGameModeCreative())
|
||||
|
||||
Reference in New Issue
Block a user