- Removed the 63-character limit on sound names.
SVN r475 (trunk)
This commit is contained in:
parent
b361ba05d8
commit
4a6fa7f2a3
4 changed files with 23 additions and 30 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue