woops
This commit is contained in:
parent
bfc40d8fa3
commit
3bebe7f1a4
@ -94,7 +94,7 @@ void DrawSpinner()
|
||||
|
||||
draw_api::texture_handle_t text = draw_api::create_texture(DATA_PATH"/res/atlas.png");
|
||||
while (!text.handle || text.handle == 4294967295)
|
||||
text = draw_api::create_texture(DATA_PATH"res/atlas.png");
|
||||
text = draw_api::create_texture(DATA_PATH"/res/atlas.png");
|
||||
draw_api::draw_rect_textured(draw::width / 2, draw::height / 2, size, size, colors::white,
|
||||
text, 0 + 64 * state, (3 + (v9mode ? 1 : 0)) * 64, 64, 64,
|
||||
angle);
|
||||
|
@ -98,14 +98,11 @@ void CreateMove()
|
||||
if (!enabled)
|
||||
return;
|
||||
spy = ClosestSpy();
|
||||
static float backup;
|
||||
if (spy && CE_GOOD(spy))
|
||||
{
|
||||
ConVar *var = g_ICvar->FindVar("cl_pitchdown");
|
||||
if (!var)
|
||||
return;
|
||||
if (!backup)
|
||||
backup = var->GetFloat();
|
||||
var->SetValue(140.0f);
|
||||
g_pUserCmd->viewangles.x = 140.0f;
|
||||
g_pLocalPlayer->bUseSilentAngles = true;
|
||||
@ -115,7 +112,7 @@ void CreateMove()
|
||||
else if (!spy || CE_BAD(spy))
|
||||
{
|
||||
ConVar *var = g_ICvar->FindVar("cl_pitchdown");
|
||||
var->SetValue(backup);
|
||||
var->SetValue(89);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -378,7 +378,7 @@ void _FASTCALL emoji(CachedEntity *ent)
|
||||
if (ent->m_Type == ENTITY_PLAYER)
|
||||
{
|
||||
static glez_texture_t textur =
|
||||
glez_texture_load_png_rgba("/opt/cathook/data/res/atlas.png");
|
||||
glez_texture_load_png_rgba(DATA_PATH"/res/atlas.png");
|
||||
static glez_texture_t idspecific;
|
||||
if (emoji_ok)
|
||||
auto hit = hitboxcache[ent->m_IDX][0];
|
||||
@ -403,7 +403,7 @@ void _FASTCALL emoji(CachedEntity *ent)
|
||||
glez_rgba_t white = glez_rgba(255, 255, 255, 255);
|
||||
while (!textur || textur == 4294967295)
|
||||
textur = glez_texture_load_png_rgba(
|
||||
DATA_PATH"res/atlas.png");
|
||||
DATA_PATH"/res/atlas.png");
|
||||
player_info_s info;
|
||||
unsigned int steamID;
|
||||
unsigned int steamidarray[32]{};
|
||||
@ -416,7 +416,7 @@ void _FASTCALL emoji(CachedEntity *ent)
|
||||
steamID = info.friendsID;
|
||||
if (!idspecific)
|
||||
idspecific = glez_texture_load_png_rgba(
|
||||
DATA_PATH"res/idspec.png");
|
||||
DATA_PATH"/res/idspec.png");
|
||||
if (idspecific &&
|
||||
playerlist::AccessData(steamID).state ==
|
||||
playerlist::k_EState::CAT)
|
||||
@ -429,7 +429,7 @@ void _FASTCALL emoji(CachedEntity *ent)
|
||||
{
|
||||
while (!idspecific)
|
||||
idspecific = glez_texture_load_png_rgba(
|
||||
DATA_PATH"res/idspec.png");
|
||||
DATA_PATH"/res/idspec.png");
|
||||
if (idspecific)
|
||||
glez_rect_textured(head_scr.x - size / 2,
|
||||
head_scr.y - size / 2, size,
|
||||
|
Reference in New Issue
Block a user