summaryrefslogtreecommitdiff
path: root/src/map/init.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-30 18:30:50 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-30 18:30:50 +0300
commit21ec9caab9010b3109050dd891228c191e2b0dd0 (patch)
treea2aea1f87a6e9405922b3357273fd342d41c9385 /src/map/init.c
parent5232d8fa98cbfb7a85e15b182eeb1e22d5b7376a (diff)
downloadplugin-21ec9caab9010b3109050dd891228c191e2b0dd0.tar.gz
plugin-21ec9caab9010b3109050dd891228c191e2b0dd0.tar.bz2
plugin-21ec9caab9010b3109050dd891228c191e2b0dd0.tar.xz
plugin-21ec9caab9010b3109050dd891228c191e2b0dd0.zip
Add script command for change music.
New script command: changemusic mapname, music
Diffstat (limited to 'src/map/init.c')
-rw-r--r--src/map/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/init.c b/src/map/init.c
index 2794692..8b5d1fe 100644
--- a/src/map/init.c
+++ b/src/map/init.c
@@ -92,6 +92,7 @@ HPExport void plugin_init (void)
addScriptCommand("setavatardir", "i", setAvatarDir);
addScriptCommand("setavataraction", "i", setAvatarAction);
addScriptCommand("clear", "", clear);
+ addScriptCommand("changemusic", "ss", changeMusic);
do_init_langs();