summaryrefslogtreecommitdiffstats
path: root/src/Entities/FireworkEntity.cpp
diff options
context:
space:
mode:
authorDevToaster <blazetoaster@gmail.com>2015-03-31 01:42:32 +0200
committerDevToaster <blazetoaster@gmail.com>2015-03-31 01:42:32 +0200
commitc743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4 (patch)
treeaef0d73b4a70ea991894dd1f739f074a622485ef /src/Entities/FireworkEntity.cpp
parentQtBiomeVisualiser: Fixed compilation and INI loading. (diff)
downloadcuberite-c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4.tar
cuberite-c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4.tar.gz
cuberite-c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4.tar.bz2
cuberite-c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4.tar.lz
cuberite-c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4.tar.xz
cuberite-c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4.tar.zst
cuberite-c743c7fd0cc12bf10d76ecb8cdcb8029ed8429a4.zip
Diffstat (limited to 'src/Entities/FireworkEntity.cpp')
-rw-r--r--src/Entities/FireworkEntity.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Entities/FireworkEntity.cpp b/src/Entities/FireworkEntity.cpp
index 32eaf669a..89f69f113 100644
--- a/src/Entities/FireworkEntity.cpp
+++ b/src/Entities/FireworkEntity.cpp
@@ -13,6 +13,8 @@ cFireworkEntity::cFireworkEntity(cEntity * a_Creator, double a_X, double a_Y, do
m_TicksToExplosion(a_Item.m_FireworkItem.m_FlightTimeInTicks),
m_FireworkItem(a_Item)
{
+ SetGravity(0);
+ SetAirDrag(0);
}