1
0

Merge pull request #2737 from Gargaj/snowgolem

Snow golems are supposed to be "neutral"
This commit is contained in:
Safwat Halaby 2015-12-13 14:27:02 +02:00
commit e7fd308ffa

View File

@ -1,22 +1,22 @@
#pragma once #pragma once
#include "AggressiveMonster.h" #include "PassiveAggressiveMonster.h"
class cSnowGolem : class cSnowGolem :
public cAggressiveMonster public cPassiveAggressiveMonster
{ {
typedef cAggressiveMonster super; typedef cPassiveAggressiveMonster super;
public: public:
cSnowGolem(void); cSnowGolem(void);
CLASS_PROTODEF(cSnowGolem) CLASS_PROTODEF(cSnowGolem)
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override; virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override; virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
} ; } ;