mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Voice taunts update: changed civgroup name format from %02d to %d, to allow using civgroups with 3 digit numbers.
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8744 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -2241,7 +2241,7 @@ BOOLEAN PlayVoiceTaunt(SOLDIERTYPE *pCiv, TAUNTTYPE iTauntType, SOLDIERTYPE *pTa
|
|||||||
}
|
}
|
||||||
else if (pCiv->bTeam == CIV_TEAM && pCiv->ubCivilianGroup != NON_CIV_GROUP)
|
else if (pCiv->bTeam == CIV_TEAM && pCiv->ubCivilianGroup != NON_CIV_GROUP)
|
||||||
{
|
{
|
||||||
sprintf(buf, "\\Civgroup%02d\\", pCiv->ubCivilianGroup);
|
sprintf(buf, "\\Civgroup%d\\", pCiv->ubCivilianGroup);
|
||||||
strcat(filename, buf);
|
strcat(filename, buf);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user