Skip to content

Commit

Permalink
TSAGE: Corrected signature of ASound::play method
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Oct 17, 2011
1 parent dbff0af commit ca31591
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engines/tsage/sound.cpp
Expand Up @@ -2432,7 +2432,7 @@ void ASound::dispatch() {
}
}

void ASound::play(int soundNum, Action *action, int volume) {
void ASound::play(int soundNum, EventHandler *action, int volume) {
_action = action;
_cueValue = 0;

Expand Down
2 changes: 1 addition & 1 deletion engines/tsage/sound.h
Expand Up @@ -373,7 +373,7 @@ class ASound: public EventHandler {
virtual void synchronize(Serializer &s);
virtual void dispatch();

void play(int soundNum, Action *action = NULL, int volume = 127);
void play(int soundNum, EventHandler *action = NULL, int volume = 127);
void stop();
void prime(int soundNum, Action *action = NULL);
void unPrime();
Expand Down

0 comments on commit ca31591

Please sign in to comment.