From 00a62939522b0d8ea900be805a1a65b3d4f8dc11 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Wed, 15 Jul 2009 22:27:38 +0000 Subject: [PATCH] - Fixed: Trying to run with the same FMOD version you compiled with no longer produced sound. (But compiling with 4.26.xx and using an older DLL was fine.) SVN r1718 (trunk) --- src/sound/fmodsound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/fmodsound.cpp b/src/sound/fmodsound.cpp index a1fc50070..e9b4c375e 100644 --- a/src/sound/fmodsound.cpp +++ b/src/sound/fmodsound.cpp @@ -2695,7 +2695,7 @@ void FMODSoundRenderer::InitCreateSoundExInfo(FMOD_CREATESOUNDEXINFO *exinfo) co else #endif { - exinfo->cbsize = sizeof(exinfo); + exinfo->cbsize = sizeof(*exinfo); } memset((BYTE *)exinfo + sizeof(exinfo->cbsize), 0, exinfo->cbsize - sizeof(exinfo->cbsize)); }