Fixed a crash in the qtv clients menu

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2498 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2007-04-18 20:21:12 +00:00
parent 31a53c738c
commit 2e8fe03892

View file

@ -4083,7 +4083,7 @@ void Menu_Draw(cluster_t *cluster, viewer_t *viewer)
WriteString2(&m, "\nActive Clients\n\n"); WriteString2(&m, "\nActive Clients\n\n");
start = viewer->menuop & ~7; start = viewer->menuop & ~7;
for (i = 0; i < start; i++) for (i = 0; i < start && v; i++)
v = v->next; v = v->next;
for (i = start; i < start+8 && v; i++, v = v->next) for (i = start; i < start+8 && v; i++, v = v->next)
{ {