- Added Line_SetTextureOffset special.
- Added 'allowprotection' keyword to terrain definitions to allow damaging flats that don't damage players with a radiation suit. - Fixed: SNDINFO rolloff setting for Strife was missing. SVN r839 (trunk)
This commit is contained in:
parent
eef724b58e
commit
e0bfe5fd42
8 changed files with 87 additions and 6 deletions
|
|
@ -1350,7 +1350,6 @@ bool S_ChangeMusic (const char *musicname, int order, bool looping, bool force)
|
|||
length = Wads.LumpLength (lumpnum);
|
||||
if (length == 0)
|
||||
{
|
||||
offset = 0;
|
||||
return false;
|
||||
}
|
||||
musiccache.Resize(length);
|
||||
|
|
@ -1360,6 +1359,10 @@ bool S_ChangeMusic (const char *musicname, int order, bool looping, bool force)
|
|||
{
|
||||
offset = Wads.GetLumpOffset (lumpnum);
|
||||
length = Wads.LumpLength (lumpnum);
|
||||
if (length == 0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue