- Backported the classnames-are-names changes from the FP code.
SVN r97 (trunk)
This commit is contained in:
parent
632e03fa7e
commit
d878c2e7d6
108 changed files with 1476 additions and 1053 deletions
|
|
@ -371,7 +371,7 @@ static bool DoSubstitution (char *out, const char *in)
|
|||
}
|
||||
else
|
||||
{
|
||||
out += sprintf (out, "%s", weapon->GetClass()->Name+1);
|
||||
out += sprintf (out, "%s", weapon->GetClass()->TypeName.GetChars());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -412,10 +412,10 @@ static bool DoSubstitution (char *out, const char *in)
|
|||
}
|
||||
else
|
||||
{
|
||||
out += sprintf (out, "%s", weapon->Ammo1->GetClass()->Name+1);
|
||||
out += sprintf (out, "%s", weapon->Ammo1->GetClass()->TypeName.GetChars());
|
||||
if (weapon->Ammo2 != NULL)
|
||||
{
|
||||
out += sprintf (out, "/%s", weapon->Ammo2->GetClass()->Name+1);
|
||||
out += sprintf (out, "/%s", weapon->Ammo2->GetClass()->TypeName.GetChars());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue