summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Bat.cpp
diff options
context:
space:
mode:
authorDevToaster <blazetoaster@gmail.com>2015-03-31 17:03:35 +0200
committerDevToaster <blazetoaster@gmail.com>2015-03-31 17:03:35 +0200
commit45c84ea93318a4ab8921a20d7d2c086cfc313999 (patch)
tree2e802814ec3da8fa341e9ad73a588f01fd4b5e2d /src/Mobs/Bat.cpp
parentAdjusted projectile physics (diff)
downloadcuberite-45c84ea93318a4ab8921a20d7d2c086cfc313999.tar
cuberite-45c84ea93318a4ab8921a20d7d2c086cfc313999.tar.gz
cuberite-45c84ea93318a4ab8921a20d7d2c086cfc313999.tar.bz2
cuberite-45c84ea93318a4ab8921a20d7d2c086cfc313999.tar.lz
cuberite-45c84ea93318a4ab8921a20d7d2c086cfc313999.tar.xz
cuberite-45c84ea93318a4ab8921a20d7d2c086cfc313999.tar.zst
cuberite-45c84ea93318a4ab8921a20d7d2c086cfc313999.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/Bat.cpp2
1 files changed, 2 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);
}