mirror of
https://github.com/0TheSpy/Seaside.git
synced 2025-09-19 20:26:10 +08:00
Update Skinchanger.cpp
This commit is contained in:
@ -371,6 +371,8 @@ bool Changer()
|
|||||||
|
|
||||||
if (g_Options.weapons.value->arr[0].active && g_Options.weapons.value->arr[0].modelactive)
|
if (g_Options.weapons.value->arr[0].active && g_Options.weapons.value->arr[0].modelactive)
|
||||||
{
|
{
|
||||||
|
//May cause crash idk why
|
||||||
|
/*
|
||||||
static int lastmdlindex = -1;
|
static int lastmdlindex = -1;
|
||||||
int curmdlindex = pViewModel->GetModelIndex();
|
int curmdlindex = pViewModel->GetModelIndex();
|
||||||
if (lastmdlindex != curmdlindex)
|
if (lastmdlindex != curmdlindex)
|
||||||
@ -388,6 +390,7 @@ bool Changer()
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if (view_model_weapon && is_knife(view_model_weapon->GetItemDefinitionIndex()))
|
if (view_model_weapon && is_knife(view_model_weapon->GetItemDefinitionIndex()))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user