- Fixed: Makefile.mgw was mysteriously missing some targets. After fixing that,

I also removed some of GCC's warnings.


SVN r255 (trunk)
This commit is contained in:
Randy Heit 2006-07-16 01:25:29 +00:00
commit 5e37e4a0b8
7 changed files with 29 additions and 24 deletions

View file

@ -3501,15 +3501,11 @@ static void PlayerDisplayName (APlayerPawn *defaults, Baggage &bag)
//==========================================================================
static void PlayerSoundClass (APlayerPawn *defaults, Baggage &bag)
{
char tmp[256];
FString tmp;
SC_MustGetString ();
sprintf (tmp, sc_String);
for (int i = 0; i < strlen (tmp); i++)
if (tmp[i] == ' ')
tmp[i] = '_';
tmp = sc_String;
tmp.ReplaceChars (' ', '_');
bag.Info->Class->Meta.SetMetaString (APMETA_SoundClass, tmp);
}