CID 22474 Evaluation order violation

This commit is contained in:
Enno Rehling 2015-11-03 23:19:35 +01:00
parent 7efda5f967
commit 04b5bc0c60
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ const char *raceprefix(const unit * u)
const attrib *asource = u->faction->attribs;
if (fval(u, UFL_GROUP)) {
const attrib *agroup = agroup = a_findc(u->attribs, &at_group);
const attrib *agroup = a_findc(u->attribs, &at_group);
if (agroup != NULL)
asource = ((const group *)(agroup->data.v))->attribs;
}