Skip to content

Commit

Permalink
remove console spam
Browse files Browse the repository at this point in the history
  • Loading branch information
c6-dev committed Feb 21, 2022
1 parent 62b6060 commit 7dc7405
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions JG/events/JohnnyEvents.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,6 @@ UInt32 __fastcall handlerRenderMenuEvent(void* ECX, void* edx, int arg1, int arg
void __stdcall HandleAVChangeEvent(int avCode, float previousVal, float modVal)
{
float newVal = previousVal + modVal;
const char* avName = CdeclCall<char*>(0x66EB00, avCode);
Console_Print("%s - prev %f mod %f new %f", avName, previousVal, modVal, newVal);
for (auto const& callback : OnAVChangeHandler->EventCallbacks) {
if (reinterpret_cast<JohnnyEventFiltersOneFormOneInt*>(callback.eventFilter)->IsInFilter(1, avCode)) {
CallUDF(callback.ScriptForEvent, NULL, OnAVChangeHandler->numMaxArgs, avCode, *(UInt32*)&previousVal, *(UInt32*)&newVal);
Expand Down

0 comments on commit 7dc7405

Please sign in to comment.