mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-13 06:21:29 -10:00
Remove more unused variables
This commit is contained in:
1 parent
531cb27254
commit
c19cfccdfa
1 file changed
-8
@@ -205,8 +205,6 @@ void reset_view()
|
||||
void labviewer_change_model(char* model_fname, int lod = 0, int sel_index = -1)
|
||||
{
|
||||
bool change_model = true;
|
||||
int l;
|
||||
ship_info* sip = nullptr;
|
||||
|
||||
anim_timer_start = timer_get_milliseconds();
|
||||
|
||||
@@ -243,12 +241,6 @@ void labviewer_change_model(char* model_fname, int lod = 0, int sel_index = -1)
|
||||
model_page_in_textures(Lab_model_num, sel_index);
|
||||
}
|
||||
}
|
||||
|
||||
// do the same for weapon models if necessary
|
||||
if (Lab_mode == LAB_MODE_SHIP) {
|
||||
sip = &Ship_info[Lab_selected_index];
|
||||
l = 0;
|
||||
}
|
||||
} else {
|
||||
// clear out the model filename
|
||||
memset(Lab_model_filename, 0, sizeof(Lab_model_filename));
|
||||
|
||||
Reference in new issue
Block a user