Made it compile on windows. Fixed bug: Chat during change of hand did not work. Changed audio extension to wav.

This commit is contained in:
lotodore
2007-06-02 15:53:19 +00:00
parent 916d2fa208
commit 9512133490
6 changed files with 25 additions and 20 deletions
+3 -1
View File
@@ -11,6 +11,8 @@
//
#include "sdlplayer.h"
#include <iostream>
using namespace std;
SDLPlayer::SDLPlayer()
@@ -48,7 +50,7 @@ void SDLPlayer::playSound(string audioString) {
cout << "play now" << endl;
/* Actually loads up the music */
string completeAudioString = audioString + ".ogg";
string completeAudioString = audioString + ".wav";
music = Mix_LoadMUS(completeAudioString.c_str());
/* This begins playing the music - the first argument is a