Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
GameDevWeek
Sommersemester 2015
Cpp
Deth Buff Arr
Commits
e4cf066c
Commit
e4cf066c
authored
Sep 26, 2015
by
Michael Ochmann
Browse files
doublesound fix
parent
2a850986
Changes
1
Show whitespace changes
Inline
Side-by-side
src/audio/AudioEventHandler.cpp
View file @
e4cf066c
...
@@ -29,6 +29,7 @@ namespace gdw {
...
@@ -29,6 +29,7 @@ namespace gdw {
break
;
break
;
case
Event
::
TRAKTORBEAM_REVERSE_ACTIVATED
:
case
Event
::
TRAKTORBEAM_REVERSE_ACTIVATED
:
case
Event
::
TRAKTORBEAM_ACTIVATED
:
case
Event
::
TRAKTORBEAM_ACTIVATED
:
this
->
engine
.
audio
().
stop_sound
(
this
->
channels
[
"beam"
]);
this
->
channels
[
"beam"
]
=
this
->
engine
.
audio
().
queue_sound
(
"tractorBeam"
,
-
1
);
this
->
channels
[
"beam"
]
=
this
->
engine
.
audio
().
queue_sound
(
"tractorBeam"
,
-
1
);
this
->
engine
.
audio
().
sound_volume
(
60
,
this
->
channels
[
"beam"
]);
this
->
engine
.
audio
().
sound_volume
(
60
,
this
->
channels
[
"beam"
]);
break
;
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment