diff --git a/editor/ehostage.c b/editor/ehostage.c index 9e56ccad5..a0595909f 100644 --- a/editor/ehostage.c +++ b/editor/ehostage.c @@ -345,7 +345,6 @@ void hostage_close_window() int hostage_dialog_handler(UI_DIALOG *dlg, d_event *event, hostage_dialog *h) { - fix DeltaTime; fix64 Temp; int keypress = 0; int rval = 0; @@ -392,7 +391,6 @@ int hostage_dialog_handler(UI_DIALOG *dlg, d_event *event, hostage_dialog *h) // A simple frame time counter for spinning the objects... Temp = timer_query(); - DeltaTime = Temp - h->time; h->time = Temp; if (CurrentHostageIndex > -1 ) { diff --git a/main/bmread.c b/main/bmread.c index cdf7b61b3..c5a3ee1f6 100644 --- a/main/bmread.c +++ b/main/bmread.c @@ -1753,11 +1753,12 @@ void bm_read_hostage() void bm_read_hostage_face(int skip, int pc_shareware) { - char *abm_name,*equal_ptr; - int clip_num=-1,sound_num=-1; - fix time=0; + char *equal_ptr; +#ifndef NDEBUG + int clip_num=-1; +#endif - abm_name = strtok( NULL, space ); + strtok( NULL, space ); arg = strtok( NULL, space ); while (arg!=NULL) { @@ -1768,13 +1769,11 @@ void bm_read_hostage_face(int skip, int pc_shareware) // if we have john=cool, arg is 'john' and equal_ptr is 'cool' +#ifndef NDEBUG if (!d_stricmp( arg, "clip_num" )) { clip_num = atoi(equal_ptr); - } else if (!d_stricmp( arg, "time" )) { - time = fl2f(atof(equal_ptr)); - } else if (!d_stricmp( arg, "sound_num" )) { - sound_num = atoi(equal_ptr); } +#endif } arg = strtok( NULL, space );