Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

matchmode spectator message initial #122

Open
wants to merge 3 commits into
base: aqtion-alpha
Choose a base branch
from

Conversation

mikota
Copy link

@mikota mikota commented May 28, 2023

Enables server owners to set matchmode message for spectators
image

@darkshade9
Copy link

I see what the issue is @mikota, BothTeamsHavePlayers() prototype is not exposed outside of a_team.c, you need to add

qboolean BothTeamsHavePlayers();

in g_local.h, somewhere like line 1403, see how this looks?

//
// g_misc.c
//
void ThrowHead (edict_t * self, char *gibname, int damage, int type);
void ThrowClientHead (edict_t * self, int damage);
void ThrowGib (edict_t * self, char *gibname, int damage, int type);
void BecomeExplosion1 (edict_t * self);
void SP_misc_teleporter_dest(edict_t* ent);

Maybe add a new entry like

//
// a_team.c
//
qboolean BothTeamsHavePlayers();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants