Arrows can spawn on the client.
This commit is contained in:
parent
73afb1507d
commit
806c0bf981
@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
#include "Globals.h"
|
#include "Globals.h"
|
||||||
#include "ProjectileEntity.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)
|
void cArrowEntity::SpawnOn(cClientHandle & a_Client)
|
||||||
{
|
{
|
||||||
// TODO
|
a_Client.SendSpawnObject(*this, pkArrow, 0, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user