summaryrefslogtreecommitdiffstats
path: root/source/Entities/ProjectileEntity.cpp
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-22 09:07:12 +0200
committermadmaxoft <github@xoft.cz>2013-08-22 09:07:12 +0200
commit806c0bf981eb7d33930bb0a3d9db3232c9683c11 (patch)
treecb288aea6e99039c5c899d7fc7529d9beb55da4d /source/Entities/ProjectileEntity.cpp
parentAdded skeleton code for projectile spawning. (diff)
downloadcuberite-806c0bf981eb7d33930bb0a3d9db3232c9683c11.tar
cuberite-806c0bf981eb7d33930bb0a3d9db3232c9683c11.tar.gz
cuberite-806c0bf981eb7d33930bb0a3d9db3232c9683c11.tar.bz2
cuberite-806c0bf981eb7d33930bb0a3d9db3232c9683c11.tar.lz
cuberite-806c0bf981eb7d33930bb0a3d9db3232c9683c11.tar.xz
cuberite-806c0bf981eb7d33930bb0a3d9db3232c9683c11.tar.zst
cuberite-806c0bf981eb7d33930bb0a3d9db3232c9683c11.zip
Diffstat (limited to '')
-rw-r--r--source/Entities/ProjectileEntity.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/Entities/ProjectileEntity.cpp b/source/Entities/ProjectileEntity.cpp
index 93508e2f7..c6c5ecc71 100644
--- a/source/Entities/ProjectileEntity.cpp
+++ b/source/Entities/ProjectileEntity.cpp
@@ -5,6 +5,7 @@
#include "Globals.h"
#include "ProjectileEntity.h"
+#include "../ClientHandle.h"
@@ -71,7 +72,7 @@ cArrowEntity::cArrowEntity(cEntity * a_Creator, double a_X, double a_Y, double a
void cArrowEntity::SpawnOn(cClientHandle & a_Client)
{
- // TODO
+ a_Client.SendSpawnObject(*this, pkArrow, 0, 0, 0);
}