Remove old debug lines.

This commit is contained in:
Arkshine 2014-07-26 23:19:28 +02:00
parent 0b7bc23a30
commit e440663ea3
2 changed files with 0 additions and 8 deletions

View File

@ -82,13 +82,11 @@ inline void *_GetFunction(void *pthis, int id)
// function. // function.
if (func==(*i)->tramp) if (func==(*i)->tramp)
{ {
printf("Func=0x%08X\n",reinterpret_cast<unsigned int>((*i)->func));
return (*i)->func; return (*i)->func;
} }
} }
// this is an original function // this is an original function
printf("Func=0x%08X\n",reinterpret_cast<unsigned int>(func));
return 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 *ev4=&(INDEXENT_NEW(id4)->v);
entvars_t *ev5=&(INDEXENT_NEW(id5)->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) #if defined(_WIN32)
reinterpret_cast<void (__fastcall *)(void *, int, Vector, entvars_t *, entvars_t *, float, int, int)>(__func)(pv, 0, v3, ev4, ev5, f6, i7, i8); reinterpret_cast<void (__fastcall *)(void *, int, Vector, entvars_t *, entvars_t *, float, int, int)>(__func)(pv, 0, v3, ev4, ev5, f6, i7, i8);
#elif defined(__linux__) || defined(__APPLE__) #elif defined(__linux__) || defined(__APPLE__)
reinterpret_cast<void (*)(void *, Vector, entvars_t *, entvars_t *, float, int, int)>(__func)(pv, v3, ev4, ev5, f6, i7, i8); reinterpret_cast<void (*)(void *, Vector, entvars_t *, entvars_t *, float, int, int)>(__func)(pv, v3, ev4, ev5, f6, i7, i8);
#endif #endif
printf("%.2f %.2f %.2f, %d, %d, %f, %d %d\n", v3.x, v3.y, v3.z, id4, id5, f6, i7, i8);
return 1; return 1;
} }

View File

@ -1599,8 +1599,6 @@ void Hook_Void_Vector_Entvar_Entvar_Float_Int_Int(Hook *hook, void *pthis, Vecto
P_INT(classignore) P_INT(classignore)
P_INT(damagebits) 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() PRE_START()
,MF_PrepareCellArrayA(reinterpret_cast<cell *>(&source), 3, false) ,MF_PrepareCellArrayA(reinterpret_cast<cell *>(&source), 3, false)
,iInflictor, iAttacker, damage, classignore, damagebits ,iInflictor, iAttacker, damage, classignore, damagebits