summaryrefslogtreecommitdiffstats
path: root/src/Mobs
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2015-04-14 22:31:09 +0200
committerMattes D <github@xoft.cz>2015-04-14 22:31:09 +0200
commit54289aeccbb5a4d9624c369435ec29ce858374b9 (patch)
tree347b00bdfc68314d6a5e0a0aac5c89e3a19d6599 /src/Mobs
parentDebuggers: Renamed conflicting /cs command to /cstay. (diff)
parentChanged air drag for pickups (diff)
downloadcuberite-54289aeccbb5a4d9624c369435ec29ce858374b9.tar
cuberite-54289aeccbb5a4d9624c369435ec29ce858374b9.tar.gz
cuberite-54289aeccbb5a4d9624c369435ec29ce858374b9.tar.bz2
cuberite-54289aeccbb5a4d9624c369435ec29ce858374b9.tar.lz
cuberite-54289aeccbb5a4d9624c369435ec29ce858374b9.tar.xz
cuberite-54289aeccbb5a4d9624c369435ec29ce858374b9.tar.zst
cuberite-54289aeccbb5a4d9624c369435ec29ce858374b9.zip
Diffstat (limited to 'src/Mobs')
-rw-r--r--src/Mobs/Bat.cpp2
-rw-r--r--src/Mobs/Blaze.cpp2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/Mobs/Bat.cpp b/src/Mobs/Bat.cpp
index c072d4f48..e187e928a 100644
--- a/src/Mobs/Bat.cpp
+++ b/src/Mobs/Bat.cpp
@@ -9,6 +9,8 @@
cBat::cBat(void) :
super("Bat", mtBat, "mob.bat.hurt", "mob.bat.death", 0.5, 0.9)
{
+ SetGravity(-2.0f);
+ SetAirDrag(0.05f);
}
diff --git a/src/Mobs/Blaze.cpp b/src/Mobs/Blaze.cpp
index 89eeb3709..d4ad24166 100644
--- a/src/Mobs/Blaze.cpp
+++ b/src/Mobs/Blaze.cpp
@@ -11,6 +11,8 @@
cBlaze::cBlaze(void) :
super("Blaze", mtBlaze, "mob.blaze.hit", "mob.blaze.death", 0.6, 1.8)
{
+ SetGravity(-8.0f);
+ SetAirDrag(0.05f);
}