From 422ebda3ba103cbf29ea219df00079b25d27ed7c Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Fri, 20 Feb 2009 03:46:00 +0000 Subject: Add change from Quietust, to fix MSVC 7.1 compile. svn-id: r38574 --- engines/sci/sfx/softseq/opl2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci') diff --git a/engines/sci/sfx/softseq/opl2.cpp b/engines/sci/sfx/softseq/opl2.cpp index eb94fcee97..9dc9bf387b 100644 --- a/engines/sci/sfx/softseq/opl2.cpp +++ b/engines/sci/sfx/softseq/opl2.cpp @@ -280,7 +280,7 @@ void synth_setnote(int voice, int note, int bend) { if (bend < 8192) bend = 8192 - bend; - delta = pow(2, (float)(bend % 8192) / 8192.0); + delta = pow(2.0, (float)(bend % 8192) / 8192.0); if (bend > 8192) fre = (int)(ym3812_note[n] * delta); -- cgit v1.2.3