diff --git a/source/gl_g_run_speed.ssl b/source/gl_g_run_speed.ssl index afa4333..244fc30 100644 --- a/source/gl_g_run_speed.ssl +++ b/source/gl_g_run_speed.ssl @@ -48,40 +48,22 @@ procedure start begin call set_run_fps(path, fps); end +/* Not working. Maybe it doesn't need to work, and engine sees them as standard hfjmps? frms := [ // hero appearance - "hfr00s01\\art\\critters\\_hfjmps", - "hfr00s01\\art\\critters\\_hflthr", - "hfr00s01\\art\\critters\\_hfmaxx", - "hfr00s01\\art\\critters\\_hfmetl", - "hfr00s01\\art\\critters\\_hfprim", - "hfr00s02\\art\\critters\\_hfjmps", - "hfr00s02\\art\\critters\\_hflthr", - "hfr00s02\\art\\critters\\_hfmaxx", - "hfr00s02\\art\\critters\\_hfmetl", - "hfr00s02\\art\\critters\\_hfprim", - "hfr00s03\\art\\critters\\_hfjmps", - "hfr00s03\\art\\critters\\_hflthr", - "hfr00s03\\art\\critters\\_hfmaxx", - "hfr00s03\\art\\critters\\_hfmetl", - "hfr00s03\\art\\critters\\_hfprim", - "hmr00s01\\art\\critters\\_hmjmps", - "hmr00s01\\art\\critters\\_hmlthr", - "hmr00s01\\art\\critters\\_hmmaxx", - "hmr00s01\\art\\critters\\_hmmetl", - "hmr00s01\\art\\critters\\_hmwarr", - "hmr00s02\\art\\critters\\_hmjmps", - "hmr00s02\\art\\critters\\_hmlthr", - "hmr00s02\\art\\critters\\_hmmaxx", - "hmr00s02\\art\\critters\\_hmmetl", - "hmr00s02\\art\\critters\\_hmwarr" + "art\\critters\\_hfjmps", + "art\\critters\\_hflthr", + "art\\critters\\_hfmaxx", + "art\\critters\\_hfmetl", + "art\\critters\\_hfprim" ]; foreach frm in frms begin - path := "appearance\\" + frm; + //path := "appearance\\" + frm; + path := frm; call set_run_fps(path, fps); end +*/ end - if party then begin ndebug("party enabled"); frms := [ @@ -117,7 +99,10 @@ procedure set_run_fps(variable path, variable new_fps) begin variable path_ab := path + "ab.frm"; variable path_at := path + "at.frm"; file := fs_copy(path_at, path_at); - if file == -1 then file := fs_copy(path_at, path_ab); + if file == -1 then begin + ndebug(path_at + " is missing, copying from " + path_ab); + file := fs_copy(path_at, path_ab); + end if file == -1 then begin ndebug("warning: couldn't find or create " + path_at); return;