Skip to content

Commit

Permalink
improved broken models fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ouned committed Feb 21, 2016
1 parent ba6c33a commit 0bf4638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/sv_client.cpp
Expand Up @@ -1344,7 +1344,7 @@ void SV_UserinfoChanged( client_t *cl ) {
char model[80];

Q_strncpyz(model, Info_ValueForKey(cl->userinfo, "model"), sizeof(model));
if (Q_stristr(model, "kyle/fpls") || (Q_stristr(model, "morgan") && (stricmp(model, "morgan/default_mp") && stricmp(model, "morgan/red") && stricmp(model, "morgan/blue"))))
if (Q_stristr(model, "kyle/fpls") || (!Q_stricmpn(model, "morgan/", 7) && (Q_stricmp(model, "morgan/default_mp") && Q_stricmp(model, "morgan/red") && Q_stricmp(model, "morgan/blue"))))
{
if ( !Info_SetValueForKey(cl->userinfo, "model", "kyle/default") )
{
Expand Down

0 comments on commit 0bf4638

Please sign in to comment.