diff --git a/dlls/hamsandwich/call_funcs.cpp b/dlls/hamsandwich/call_funcs.cpp index c76330c1..df1c61fb 100644 --- a/dlls/hamsandwich/call_funcs.cpp +++ b/dlls/hamsandwich/call_funcs.cpp @@ -82,13 +82,11 @@ inline void *_GetFunction(void *pthis, int id) // function. if (func==(*i)->tramp) { - printf("Func=0x%08X\n",reinterpret_cast((*i)->func)); return (*i)->func; } } // this is an original function - printf("Func=0x%08X\n",reinterpret_cast(func)); return func; } @@ -1002,16 +1000,12 @@ cell Call_Void_Vector_Entvar_Entvar_Float_Int_Int(AMX *amx, cell *params) entvars_t *ev4=&(INDEXENT_NEW(id4)->v); entvars_t *ev5=&(INDEXENT_NEW(id5)->v); - printf("%.2f %.2f %.2f, %d, %d, %f, %d %d\n", v3.x, v3.y, v3.z, id4, id5, f6, i7, i8 ); - #if defined(_WIN32) reinterpret_cast(__func)(pv, 0, v3, ev4, ev5, f6, i7, i8); #elif defined(__linux__) || defined(__APPLE__) reinterpret_cast(__func)(pv, v3, ev4, ev5, f6, i7, i8); #endif - printf("%.2f %.2f %.2f, %d, %d, %f, %d %d\n", v3.x, v3.y, v3.z, id4, id5, f6, i7, i8); - return 1; } diff --git a/dlls/hamsandwich/hook_callbacks.cpp b/dlls/hamsandwich/hook_callbacks.cpp index 28034e56..971a3c98 100644 --- a/dlls/hamsandwich/hook_callbacks.cpp +++ b/dlls/hamsandwich/hook_callbacks.cpp @@ -1599,8 +1599,6 @@ void Hook_Void_Vector_Entvar_Entvar_Float_Int_Int(Hook *hook, void *pthis, Vecto P_INT(classignore) P_INT(damagebits) - printf("HOok - %.2f %.2f %.2f, %d, %d, %f, %d %d\n", source.x, source.y, source.z, iInflictor, iAttacker, damage, classignore, damagebits); - PRE_START() ,MF_PrepareCellArrayA(reinterpret_cast(&source), 3, false) ,iInflictor, iAttacker, damage, classignore, damagebits