On Sat, Mar 16, 2002 at 12:13:33AM +1030, Alex Angas wrote:
> There is a similar bug from memory where restoring a game in Camelot sets
> the volume to zero. Maybe they are related.

Okay, there's a changelog entry a while back that reads along the lines
of "set volume to 100 if the savegame volume is 0".   Volume changes on
save/restore are probably a result of that change.

But back to the original problem.  From what I can tell, it looks like
that the master_volume variable is not explicitly initialized
everywhere.  And where it's initialized, it's set to 0.  :)
(we memset the value to 0 early on)

Some games make an explicit DoSound/SetVolume call when they start up
(eg ARTHUR) but others (eg SQ3) do not.  So that's the problem.

So it seems that we need to have a default initial volume.  After a
little more testing, I'll check in this fix.

 - Pizza
-- 
Solomon Peachy                                    pizzaATfucktheusers.org
I ain't broke, but I'm badly bent.                           ICQ# 1318344
Patience comes to those who wait.
    ...It's not "Beanbag Love", it's a "Transanimate Relationship"...

-- Attached file included as plaintext by Listar --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8krcvysXuytMhc5ERAkFUAJ41vzSEEkkfqqWDdzd13QnXCTzYZwCfco4P
5zwIBwo8DiBO023ZEvq+gbk=
=wU83
-----END PGP SIGNATURE-----



Reply via email to