Show info about changing player only in multiplayer or demo mode

This commit is contained in:
aurhat
2016-05-10 22:00:05 +02:00
parent 35009a4eee
commit baa24e0795
+1 -1
View File
@@ -975,7 +975,7 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat
glOrtho(0, VIRTW*3/2, VIRTH*3/2, 0, -1, 1);
const int left = (VIRTW)*3/2, top = (VIRTH*3/2)*3/4;
draw_textf("SPACE to change view", left - (text_width("SCROLL to change player") + FONTH/2), top);
if(!m_botmode) draw_textf("SCROLL to change player", left - (text_width("SCROLL to change player") + FONTH/2), top+80);
if(multiplayer(false) || watchingdemo) draw_textf("SCROLL to change player", left - (text_width("SCROLL to change player") + FONTH/2), top+80);
}
extern void renderhudtexturepreviews();