- Removed the S_Sound() variant that allows for pointing the origin at an
arbitrary point. It has been replaced with a variant that takes a polyobject as a source, since that was the only use that couldn't be rewritten with the other variants. This also fixes the bug that polyobject sounds were not successfully saved and caused a crash when reloading the game. Note that this is a significant change to how equality of sound sources is determined, so some things may not behave quite the same as before. (Which would be a bug, but hopefully everything still sounds the same.) SVN r1059 (trunk)
This commit is contained in:
parent
601a6ad04c
commit
a3e8a0cefd
39 changed files with 473 additions and 251 deletions
|
|
@ -53,7 +53,6 @@
|
|||
#include "i_system.h"
|
||||
#include "i_movie.h"
|
||||
#include "sbar.h"
|
||||
#include "vectors.h"
|
||||
#include "m_swap.h"
|
||||
#include "a_sharedglobal.h"
|
||||
#include "a_doomglobal.h"
|
||||
|
|
@ -4127,8 +4126,8 @@ int DLevelScript::RunScript ()
|
|||
if (activationline)
|
||||
{
|
||||
S_Sound (
|
||||
activationline->frontsector->soundorg,
|
||||
CHAN_AUTO,
|
||||
activationline->frontsector,
|
||||
CHAN_AUTO, // Not CHAN_AREA, because that'd probably break existing scripts.
|
||||
lookup,
|
||||
(float)(STACK(1)) / 127.f,
|
||||
ATTN_NORM);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue