akimbo bug fixed; some new bugs added

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4598 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2009-08-05 21:21:57 +00:00
parent bb791457ef
commit f1e879e7fd
46 changed files with 2794 additions and 763 deletions
+5 -1
View File
@@ -645,7 +645,11 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat
{
glLoadIdentity();
glOrtho(0, VIRTW, VIRTH, 0, -1, 1);
draw_text("SPECTATING", VIRTW/40, VIRTH/10*7);
const char *specttext = "SPECTATING";
if(player1->team == TEAM_SPECT) specttext = "SPECTATOR";
else if(player1->team == TEAM_CLA_SPECT) specttext = "SPECTATOR(CLA)";
else if(player1->team == TEAM_RVSF_SPECT) specttext = "SPECTATOR(RVSF)";
draw_text(specttext, VIRTW/40, VIRTH/10*7);
if(player1->spectatemode==SM_FOLLOW1ST || player1->spectatemode==SM_FOLLOW3RD || player1->spectatemode==SM_FOLLOW3RD_TRANSPARENT)
{
if(players.inrange(player1->followplayercn) && players[player1->followplayercn])