diff --git a/code/game/g_combat.c b/code/game/g_combat.c index 7fc5e6d..9e706c2 100644 --- a/code/game/g_combat.c +++ b/code/game/g_combat.c @@ -1840,6 +1840,11 @@ void G_Repair(gentity_t *ent, gentity_t *tr_ent, float rate) { max = tr_ent->r.maxs[i]; } } + + DEVELOPER( + G_Printf("G_Repair: target=%d, goodDist=%d, curDist=%d\n", tr_ent-g_entities, 80+max, distance); + ); + if(distance > 80 + max) { return; }