- Removed the 63-character limit on sound names.

SVN r475 (trunk)
This commit is contained in:
Randy Heit 2007-02-04 00:33:17 +00:00
commit 4a6fa7f2a3
4 changed files with 23 additions and 30 deletions

View file

@ -4808,11 +4808,11 @@ FArchive &operator<< (FArchive &arc, FSoundIndex &snd)
{
if (arc.IsStoring ())
{
arc.WriteName (snd.Index ? S_sfx[snd.Index].name : NULL);
arc.WriteName (snd.Index ? S_sfx[snd.Index].name.GetChars() : NULL);
}
else
{
const char *name = arc.ReadName ();;
const char *name = arc.ReadName ();
snd.Index = name != NULL ? S_FindSound (name) : 0;
}
return arc;