Singleplayer crashfix.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@7226 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
ebd93276a6
commit
b8772dd066
|
@ -98,6 +98,10 @@ BOOL intDisplayMultiJoiningStatus(UBYTE joinCount)
|
|||
iV_DrawText(_("Players Still Joining"),
|
||||
x+(w/2)-(iV_GetTextWidth(_("Players Still Joining"))/2),
|
||||
y+(h/2)-8 );
|
||||
if (!NetPlay.playercount)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
sprintf(sTmp,"%d%%", PERCENT((NetPlay.playercount-joinCount),NetPlay.playercount) );
|
||||
iV_DrawText(sTmp ,x + (w / 2) - 10, y + (h / 2) + 10);
|
||||
|
||||
|
|
Loading…
Reference in New Issue