Skip to content

Commit

Permalink
of course it doesnt print
Browse files Browse the repository at this point in the history
  • Loading branch information
khanghugo committed Mar 27, 2024
1 parent 7257600 commit 319322a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions BunnymodXT/modules/ServerDLL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3437,7 +3437,7 @@ HOOK_DEF_2(ServerDLL, void, __cdecl, DispatchKeyValue, edict_t*, pentKeyvalue, K

tpLandmarks[index] = pkvd->szValue;
pkvd->fHandled = 1;
printf("handled!!!!\n");
EngineDevWarning("handled!!!!\n");
}

ORIG_DispatchKeyValue(pentKeyvalue, pkvd);
Expand Down Expand Up @@ -3515,10 +3515,10 @@ HOOK_DEF_3(ServerDLL, void, __fastcall, CBaseTrigger__TeleportTouch, void*, this
TriggerTpKeepsMomentumRestore(prev_vel, prev_vel, prev_angles, prev_basevelocity, pev, pEngfuncs);
}

printf("enabled %d pEngfuncs is %d\n", is_bxt_ch_trigger_tp_landmark_enabled, pEngfuncs == NULL);
EngineDevWarning("enabled %d pEngfuncs is %d\n", is_bxt_ch_trigger_tp_landmark_enabled, pEngfuncs == NULL);
if (is_bxt_ch_trigger_tp_landmark_enabled && std::get<0>(landmark_info)) {
TriggerTpLandmarkAfter(pev, std::get<1>(landmark_info));
printf("the offset %f\n", std::get<1>(landmark_info).Length2D());
EngineDevWarning("the offset %f\n", std::get<1>(landmark_info).Length2D());
}
}

Expand Down

0 comments on commit 319322a

Please sign in to comment.