summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCracker64 <cracker642@gmail.com>2011-02-02 05:15:57 (GMT)
committer Cracker64 <cracker642@gmail.com>2011-02-02 05:15:57 (GMT)
commit2fb7c944cd01a2e8f71c0d89b0a140714e836c09 (patch)
tree0d1494e6b02c42810ae2117f64f3bd9b5862ff05 /src
parent5383311cbabf123f2bdeff21d6b0bff5a730000c (diff)
downloadpowder-2fb7c944cd01a2e8f71c0d89b0a140714e836c09.zip
powder-2fb7c944cd01a2e8f71c0d89b0a140714e836c09.tar.gz
fix a few things, some memsets were doubled.
Diffstat (limited to 'src')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index d4d4f01..1d6f2ed 100644
--- a/src/main.c
+++ b/src/main.c
@@ -74,7 +74,7 @@ void mixaudio(void *unused, Uint8 *stream, int len)
}
}
-void PlaySound(char *file)
+void play_sound(char *file)
{
int index;
SDL_AudioSpec wave;
@@ -2675,7 +2675,7 @@ char *console5;
}
else if(strcmp(console2, "sound")==0 && console3)
{
- PlaySound(console3);
+ play_sound(console3);
}
else if(strcmp(console2, "load")==0 && console3)
{