identify modded servers (negative protocol number) in serverbrowser

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4176 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
ac_stef
2009-02-22 18:28:14 +00:00
parent e43242ce5c
commit d9a1136861
+1 -1
View File
@@ -679,7 +679,7 @@ void refreshservers(void *menu, bool init)
{
if(si.protocol!=PROTOCOL_VERSION)
{
if(!showonlygoodservers) s_sprintf(si.full)("%s:%d [%s protocol]", si.name, si.port, si.protocol<PROTOCOL_VERSION ? "older" : "newer");
if(!showonlygoodservers) s_sprintf(si.full)("%s:%d [%s]", si.name, si.port, si.protocol<0 ? "modded version" : (si.protocol<PROTOCOL_VERSION ? "older protocol" : "newer protocol"));
else showthisone = false;
}
else