Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #48 from marqdevx/marqdevx/coach-model-removal
Browse files Browse the repository at this point in the history
Hide coach agent model
  • Loading branch information
marqdevx authored Mar 16, 2024
2 parents 9fe3edc + d2bdc00 commit 2d6c119
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/commands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,8 @@ CON_COMMAND_CHAT(coach, "Request slot coach")

coaches.AddToTail(player);

player->GetPawn()->m_clrRender(Color(255, 255, 255, 0));

int target_team_number = CS_TEAM_SPECTATOR;

if(args.ArgC() > 1){
Expand Down Expand Up @@ -649,6 +651,8 @@ CON_COMMAND_CHAT(uncoach, "Undo slot coach")

if (!pTarget)
return;

pTarget->GetPawn()->m_clrRender(Color(255, 255, 255, 255));

//Check it is not existing already
FOR_EACH_VEC(coaches,i){
Expand Down
2 changes: 1 addition & 1 deletion src/cs2fixes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ const char *CS2Fixes::GetLicense()

const char *CS2Fixes::GetVersion()
{
return "1.1.1";
return "1.1.2";
}

const char *CS2Fixes::GetDate()
Expand Down

0 comments on commit 2d6c119

Please sign in to comment.