[Fix] Forgot to load snd/music.lua into packfile.
This commit is contained in:
parent
25cd9e3ae5
commit
234a73635c
@ -55,7 +55,7 @@ endif
|
||||
DATA_AI = $(shell find ../scripts/ai/ -name '*.lua')
|
||||
DATA_GFX = $(shell find ../gfx/ -name '*.png')
|
||||
DATA_XML = $(shell find ../dat/ -name '*.xml' -o -name '*.ttf')
|
||||
DATA_SND = $(shell find ../snd/ -name '*.ogg' -o -name '*.wav')
|
||||
DATA_SND = $(shell find ../snd/ -name '*.ogg' -o -name '*.wav') ../snd/music.lua
|
||||
DATA_MISN = $(shell find ../dat/missions/ -name '*.lua')
|
||||
DATA = data
|
||||
DATAFILES = $(VERSIONFILE) $(DATA_AI) $(DATA_GFX) $(DATA_XML) $(DATA_SND) $(DATA_MISN)
|
||||
|
@ -6,7 +6,7 @@
|
||||
-- takeoff - player took off.
|
||||
-- combat - Player just got a hostile on screen.
|
||||
-- idle - Current playing music ran out.
|
||||
--]]--
|
||||
]]--
|
||||
last = "idle"
|
||||
function choose(str)
|
||||
if str == "load" then
|
||||
|
@ -372,7 +372,7 @@ static int music_luaInit(void) {
|
||||
|
||||
music_lua = luaL_newstate();
|
||||
|
||||
luaL_openlibs(music_lua);
|
||||
//luaL_openlibs(music_lua);
|
||||
|
||||
lua_loadSpace(music_lua, 1); // Space and time are readonly.
|
||||
lua_loadTime(music_lua, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user