This repository was archived by the owner on Jan 2, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -597,6 +597,7 @@ void MapViewModel(sdk::C_BaseViewModel* view_model) {
597597 const auto override_info = game_data::get_weapon_info (active_conf->definition_override_index );
598598 if (override_info) {
599599 view_model->GetModelIndex () = g_model_info->GetModelIndex (override_info->viewModel );
600+ view_model->ValidateModelIndex ();
600601 }
601602
602603 if (lastSequence != nSequence || entry.LastNewSequence == -1 || modelIndex != lastModelIndex)
@@ -618,5 +619,6 @@ void UnmapViewModel(sdk::C_BaseViewModel* view_model) {
618619 if (it != g_weapon_to_org.end ()) {
619620 view_model->GetSequence () = it->second .LastSequence ;
620621 view_model->GetModelIndex () = it->second .LastModelIndex ;
622+ view_model->ValidateModelIndex ();
621623 }
622624}
Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ void draw_gui()
263263 ImGui::PopItemWidth ();
264264 ImGui::Columns (1 );
265265
266- ImGui::Text (" nSkinz by namazso (advancedfx-v0.1.30 )" );
266+ ImGui::Text (" nSkinz by namazso (advancedfx-v0.1.31 )" );
267267
268268 ImGui::End ();
269269 }
You can’t perform that action at this time.
0 commit comments