mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
13 lines
352 B
R
13 lines
352 B
R
#include "qw_message.h"
|
|
#include "tempent.h"
|
|
|
|
void(vector org, float damage) SpawnBlood =
|
|
{
|
|
WriteByte (MSG_MULTICAST, SVC_TEMPENTITY);
|
|
WriteByte (MSG_MULTICAST, TE_BLOOD);
|
|
WriteByte (MSG_MULTICAST, 1);
|
|
WriteCoord (MSG_MULTICAST, org_x);
|
|
WriteCoord (MSG_MULTICAST, org_y);
|
|
WriteCoord (MSG_MULTICAST, org_z);
|
|
multicast (org, MULTICAST_PVS);
|
|
};
|