@@ -149,7 +149,6 @@ public MRESReturn Hook_UTIL_GetLocalPlayer(DHookReturn hReturn)
149
149
return MRES_Supercede ;
150
150
}
151
151
}
152
- // LogDebug("Overriding UTIL_GetLocalPlayer");
153
152
DHookSetReturn (hReturn , pPlayer .entindex );
154
153
return MRES_Supercede ;
155
154
}
@@ -491,15 +490,13 @@ public MRESReturn Hook_PointTeleportAcceptInput(int _this, DHookReturn hReturn,
491
490
public MRESReturn Hook_PointViewcontrolAcceptInput (int _this , DHookReturn hReturn , DHookParam hParams )
492
491
{
493
492
static bool bHookSkip = false ;
494
- LogDebug (" Hook_PointViewcontrolAcceptInput ent=%d " , _this );
495
493
if (! bHookSkip )
496
494
{
497
495
if (! DHookIsNullParam (hParams , 1 ))
498
496
{
499
497
CBaseEntity pThis = CBaseEntity (_this );
500
498
char szInputType [MAX_FORMAT ];
501
499
DHookGetParamString (hParams , 1 , szInputType , sizeof (szInputType ));
502
- LogDebug (" Hook_PointViewcontrolAcceptInput szInputType=%s " , szInputType );
503
500
504
501
if (strcmp (szInputType , " Disable" , false ) == 0 )
505
502
{
@@ -547,7 +544,6 @@ public MRESReturn Hook_PointViewcontrolAcceptInput(int _this, DHookReturn hRetur
547
544
}
548
545
else
549
546
{
550
- LogDebug (" Hook_PointViewcontrolAcceptInput activator not a player > EnableAll > MRES_Supercede" );
551
547
AcceptEntityInput (_this , " EnableAll" );
552
548
DHookSetReturn (hReturn , true );
553
549
return MRES_Supercede ;
@@ -563,12 +559,10 @@ public MRESReturn Hook_PointViewcontrolAcceptInput(int _this, DHookReturn hRetur
563
559
}
564
560
}
565
561
DHookSetReturn (hReturn , true );
566
- LogDebug (" Hook_PointViewcontrolAcceptInput MRES_Supercede" );
567
562
return MRES_Supercede ;
568
563
}
569
564
}
570
565
}
571
- LogDebug (" Hook_PointViewcontrolAcceptInput MRES_Ignored" );
572
566
return MRES_Ignored ;
573
567
}
574
568
@@ -590,13 +584,11 @@ public MRESReturn Hook_SpeedmodAcceptInput(int _this, DHookReturn hReturn, DHook
590
584
{
591
585
char szInputType [MAX_FORMAT ];
592
586
DHookGetParamString (hParams , 1 , szInputType , sizeof (szInputType ));
593
- LogDebug (" Hook_SpeedmodAcceptInput szInputType=%s " , szInputType );
594
587
if (strcmp (szInputType , " ModifySpeedAll" , false ) == 0 ) // new input
595
588
{
596
589
fieldtype_t fieldType = DHookGetParamObjectPtrVar (hParams , 4 , 16 , ObjectValueType_Int );
597
590
char szParam [32 ];
598
591
DHookGetParamObjectPtrString (hParams , 4 , 0 , ObjectValueType_String , szParam , sizeof (szParam ));
599
- LogDebug (" Hook_SpeedmodAcceptInput ft=%d , %s " , fieldType , szParam );
600
592
bHookSkip = true ;
601
593
for (int i = 1 ; i <= MaxClients ; i ++ )
602
594
{
@@ -707,7 +699,6 @@ public MRESReturn Hook_ClientCommandAcceptInput(int _this, DHookReturn hReturn,
707
699
708
700
char szParam [MAX_FORMAT ];
709
701
DHookGetParamObjectPtrString (hParams , 4 , 0 , ObjectValueType_String , szParam , sizeof (szParam ));
710
- LogDebug (" Hook_ClientCommandAcceptInput input=%s , param=%s " , szInput , szParam );
711
702
TrimString (szParam );
712
703
713
704
if (CoopManager .IsFeatureEnabled (FT_AUTODETECT_MAP_END ))
@@ -916,7 +907,6 @@ public MRESReturn Hook_ResolveNames(int _this)
916
907
//------------------------------------------------------
917
908
public MRESReturn Hook_CanSelectSchedule (DHookReturn hReturn )
918
909
{
919
- LogDebug (" Hook_CanSelectSchedule" );
920
910
// ToDo: acutally check conditions as in original code
921
911
DHookSetReturn (hReturn , true );
922
912
return MRES_Supercede ;
@@ -928,7 +918,6 @@ public MRESReturn Hook_CanSelectSchedule(DHookReturn hReturn)
928
918
//------------------------------------------------------
929
919
public MRESReturn Hook_AIConditionsThink (int _this )
930
920
{
931
- LogDebug (" Hook_AIConditionsThink" );
932
921
CAI_ScriptConditions pThis = CAI_ScriptConditions (_this );
933
922
CBasePlayer pLocalPlayerOverride = NULL_CBASEENTITY ;
934
923
0 commit comments