mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-19 09:01:30 +00:00
13 lines
349 B
R
13 lines
349 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);
|
|
};
|