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

Commit 2d6c119

Browse files
authored
Merge pull request #48 from marqdevx/marqdevx/coach-model-removal
Hide coach agent model
2 parents 9fe3edc + d2bdc00 commit 2d6c119

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/commands.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,8 @@ CON_COMMAND_CHAT(coach, "Request slot coach")
599599

600600
coaches.AddToTail(player);
601601

602+
player->GetPawn()->m_clrRender(Color(255, 255, 255, 0));
603+
602604
int target_team_number = CS_TEAM_SPECTATOR;
603605

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

650652
if (!pTarget)
651653
return;
654+
655+
pTarget->GetPawn()->m_clrRender(Color(255, 255, 255, 255));
652656

653657
//Check it is not existing already
654658
FOR_EACH_VEC(coaches,i){

src/cs2fixes.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ const char *CS2Fixes::GetLicense()
616616

617617
const char *CS2Fixes::GetVersion()
618618
{
619-
return "1.1.1";
619+
return "1.1.2";
620620
}
621621

622622
const char *CS2Fixes::GetDate()

0 commit comments

Comments
 (0)