summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-13 13:27:02 +0100
committerSafwat Halaby <SafwatHalaby@users.noreply.github.com>2015-12-13 13:27:02 +0100
commite7fd308ffac3eb8b428d9e6e33d048ac1e3af9f1 (patch)
tree6b556fc45ec3b58799035c770f1deb1a9599d256 /src/Mobs
parentMerge pull request #2738 from Gargaj/mobinheritance (diff)
parentsnow golems are "neutral" (diff)
downloadcuberite-e7fd308ffac3eb8b428d9e6e33d048ac1e3af9f1.tar
cuberite-e7fd308ffac3eb8b428d9e6e33d048ac1e3af9f1.tar.gz
cuberite-e7fd308ffac3eb8b428d9e6e33d048ac1e3af9f1.tar.bz2
cuberite-e7fd308ffac3eb8b428d9e6e33d048ac1e3af9f1.tar.lz
cuberite-e7fd308ffac3eb8b428d9e6e33d048ac1e3af9f1.tar.xz
cuberite-e7fd308ffac3eb8b428d9e6e33d048ac1e3af9f1.tar.zst
cuberite-e7fd308ffac3eb8b428d9e6e33d048ac1e3af9f1.zip
Diffstat (limited to 'src/Mobs')
-rw-r--r--src/Mobs/SnowGolem.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Mobs/SnowGolem.h b/src/Mobs/SnowGolem.h
index 9c95e21c5..708ddbef9 100644
--- a/src/Mobs/SnowGolem.h
+++ b/src/Mobs/SnowGolem.h
@@ -1,22 +1,22 @@
#pragma once
-#include "AggressiveMonster.h"
+#include "PassiveAggressiveMonster.h"
class cSnowGolem :
- public cAggressiveMonster
+ public cPassiveAggressiveMonster
{
- typedef cAggressiveMonster super;
-
+ typedef cPassiveAggressiveMonster super;
+
public:
cSnowGolem(void);
CLASS_PROTODEF(cSnowGolem)
-
+
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
} ;