summaryrefslogtreecommitdiff
path: root/src/sound.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-10-09 03:34:45 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-10-09 03:34:45 +0000
commit8bde9095c5840b8d62ebafe11beaed98877d6ac2 (patch)
tree537f717a339d1247cae222eb7a354ea5dbe8babf /src/sound.cpp
parenta246c08cef5e4d598fc07a681eb971bfbcf01519 (diff)
downloadMana-8bde9095c5840b8d62ebafe11beaed98877d6ac2.tar.gz
Mana-8bde9095c5840b8d62ebafe11beaed98877d6ac2.tar.bz2
Mana-8bde9095c5840b8d62ebafe11beaed98877d6ac2.tar.xz
Mana-8bde9095c5840b8d62ebafe11beaed98877d6ac2.zip
* Made Sprite into an interface implemented by both FloorItem and Being, which
hook themselves into the map on construction. The improved fringe layer is working as expected now. * Made sure TMW compiles without warnings even when using "-Wconversion -Wshadow -Wcast-qual -Wwrite-strings -ansi -pedantic", lots of cleanups. * Added two new small tilesets that contain the desert tiles that are twice and three times the height of a normal tile. One well in new_3-1 has been converted to use the new double tiles for testing purposes.
Diffstat (limited to 'src/sound.cpp')
-rw-r--r--src/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound.cpp b/src/sound.cpp
index 7bbe36e7..f4b2a3ed 100644
--- a/src/sound.cpp
+++ b/src/sound.cpp
@@ -76,7 +76,7 @@ void Sound::info()
SDL_version compiledVersion;
const SDL_version *linkedVersion;
char driver[40] = "Unknown";
- char *format = "Unknown";
+ const char *format = "Unknown";
int rate = 0;
Uint16 audioFormat = 0;
int channels = 0;