Revert attach-backtrace-scramble changes

This commit is contained in:
BenCat07 2018-05-24 10:53:48 +02:00
parent bc624b7a25
commit dd5d388661
2 changed files with 3 additions and 9 deletions

View File

@ -44,11 +44,6 @@ gdb -n -q -batch \
-ex "call dlerror()" \
-ex "print (char *) $2" \
-ex "catch syscall exit exit_group" \
-ex "detach" \
-ex "quit"
wait 1000
gdb -n -q -batch \
-ex "attach $proc" \
-ex "continue" \
-ex "backtrace"

View File

@ -562,9 +562,6 @@ DEFINE_HOOKED_METHOD(CreateMove, bool, void *this_, float input_sample_time,
ch->SendNetMsg(senddata, false);
ch->Transmit();
}
else if (votelogger::active &&
votelogger::antikick.test_and_set(antikick_time * 1000))
votelogger::active = false;
else if (!votelogger::active && DelayTimer.check((int) delay * 1000))
{
for (int i = 0; i < (int) serverlag_amount; i++)
@ -573,7 +570,9 @@ DEFINE_HOOKED_METHOD(CreateMove, bool, void *this_, float input_sample_time,
}
prevflow = ch->GetAvgData(FLOW_INCOMING);
}
else if (votelogger::active &&
votelogger::antikick.test_and_set(antikick_time * 1000))
votelogger::active = false;
// PROF_END("CreateMove");
if (!(cmd->buttons & IN_ATTACK))
{