From 806c0bf981eb7d33930bb0a3d9db3232c9683c11 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Thu, 22 Aug 2013 09:07:12 +0200 Subject: Arrows can spawn on the client. --- source/Entities/ProjectileEntity.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/Entities/ProjectileEntity.cpp') 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); } -- cgit v1.2.3