Fixing the vote and callvote cmd's so dead players in CTB can use them.

This commit is contained in:
Richard Allen 2002-09-30 01:32:30 +00:00
parent 7f50a1b2e0
commit 23a9a762c3
2 changed files with 18 additions and 3 deletions

View file

@ -1,8 +1,20 @@
# List fixes here for post 2.25
* Fixed the chasecam so ref's will be able to use all the chasecam modes.
* Fixed the cg_rq3_autoaction code up a bit more to show the map name, and a few other fixes
* Fixed the radio_power system.
* say_team messages no longer flow to all in CTB.
* Menus no longer list players on DM servers as spectators.
* Damage for headshots (mp5 especially) tweaked.
* The owned sound (knife slashing kills) now just played for attacker and victim.
* CTB now has the same 20 second delay for starting a map as TP has (including countdown)
* Assed propper handling of players who join CTB games while in progress.
* g_RQ3_teamXname cvars now set to black/silver in CTB.
* the team cmd (with no arguments) now knows the CTB teams.
* Enhanced matchmode so it now works for CTB.
* Bots know how to pick up cases in CTB.
* Weapon banning implemented via the g_RQ3_weaponban cvar.
* callvote and vote cmd's now know about CTB spectators and dead players.
# List fixes here for the 2.25 release

View file

@ -5,6 +5,9 @@
//-----------------------------------------------------------------------------
//
// $Log$
// Revision 1.170 2002/09/30 01:32:30 jbravo
// Fixing the vote and callvote cmd's so dead players in CTB can use them.
//
// Revision 1.169 2002/09/29 16:06:44 jbravo
// Work done at the HPWorld expo
//
@ -1904,7 +1907,7 @@ void Cmd_CallVote_f(gentity_t * ent)
return;
}
// JBravo: Lets allow spectators to vote in TP
if (ent->client->sess.sessionTeam == TEAM_SPECTATOR && g_gametype.integer != GT_TEAMPLAY) {
if (ent->client->sess.sessionTeam == TEAM_SPECTATOR && g_gametype.integer < GT_TEAM) {
trap_SendServerCommand(ent - g_entities, "print \"Not allowed to call a vote as spectator.\n\"");
return;
}
@ -2025,7 +2028,7 @@ void Cmd_Vote_f(gentity_t * ent)
return;
}
//Makro - allow spectators to vote in TP
if (ent->client->sess.sessionTeam == TEAM_SPECTATOR && g_gametype.integer != GT_TEAMPLAY) {
if (ent->client->sess.sessionTeam == TEAM_SPECTATOR && g_gametype.integer < GT_TEAM) {
trap_SendServerCommand(ent - g_entities, "print \"Not allowed to vote as spectator.\n\"");
return;
}