Some potential fixes for clang, not complete

This commit is contained in:
KimLS
2014-06-23 16:56:37 -07:00
parent 308562f939
commit a6589e283b
8 changed files with 114 additions and 107 deletions
+1 -1
View File
@@ -447,7 +447,7 @@ bool Group::UpdatePlayer(Mob* update){
//update their player profile
PlayerProfile_Struct &pp = update->CastToClient()->GetPP();
for (i = 0; i < MAX_GROUP_MEMBERS; i++) {
if(membername[0] == '\0')
if(membername[i][0] == '\0')
memset(pp.groupMembers[i], 0, 64);
else
strn0cpy(pp.groupMembers[i], membername[i], 64);