mirror of
https://git.code.sf.net/p/quake/game-source
synced 2024-11-24 21:02:06 +00:00
22 lines
413 B
C++
22 lines
413 B
C++
#include "common.qh"
|
|
|
|
// Called when a spectator connects
|
|
void ()
|
|
SpectatorConnect =
|
|
{
|
|
bprint (PRINT_MEDIUM, "Spectator ", self.netname, " entered the game.\n");
|
|
};
|
|
|
|
// Called when a spectator disconnects
|
|
void ()
|
|
SpectatorDisconnect =
|
|
{
|
|
bprint (PRINT_MEDIUM, "Spectator ", self.netname, " left the game.\n");
|
|
};
|
|
|
|
// Called around the same time as player thinks?
|
|
void ()
|
|
SpectatorThink =
|
|
{
|
|
self.impulse = 0;
|
|
};
|