Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-06-02 17:34:58 +0400
committerKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-06-02 17:34:58 +0400
commitbc329a57f94d2c1aad9f6fe29ab83f6f0e93e040 (patch)
treef8b8398985d3c11ea123f68fb26ee01bca4dee17 /source/blender/src/buttons_logic.c
parentcce2180e4bc792be8fbfdc21aa4b5d86ab36fca5 (diff)
Fix for MSVC compiler. ;-)
Diffstat (limited to 'source/blender/src/buttons_logic.c')
-rw-r--r--source/blender/src/buttons_logic.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/blender/src/buttons_logic.c b/source/blender/src/buttons_logic.c
index e7d956d22c2..156ed8d0d75 100644
--- a/source/blender/src/buttons_logic.c
+++ b/source/blender/src/buttons_logic.c
@@ -85,6 +85,7 @@
#include "BDR_editcurve.h"
#include "BSE_buttons.h"
#include "BSE_headerbuttons.h"
+#include "BSE_filesel.h"
#include "blendef.h"
#include "mydevice.h"
@@ -560,15 +561,15 @@ void do_logic_buts(unsigned short event)
bSoundActuator *sa= act->data;
if(sa->sndnr)
{
+ bSound *sound= G.main->sound.first;
+ int nr= 1;
+
if(sa->sndnr == -2) {
activate_databrowse((ID *)G.main->sound.first, ID_SO, 0, B_SOUNDACT_BROWSE,
&sa->sndnr, do_logic_buts);
break;
}
- bSound *sound= G.main->sound.first;
- int nr= 1;
-
while(sound)
{
if(nr==sa->sndnr)