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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user