Core/Player: Adjust fall damage log

Move fall damage log to "entities.player.falldamage" category and include the usual debug info

(cherry picked from commit 5270ff58daf31ce10919d9da53e09f494956a5f2)
This commit is contained in:
jackpoz
2022-03-01 22:49:22 +01:00
committed by Shauren
parent 2319a99d87
commit 20e96eead4
+1 -1
View File
@@ -26838,7 +26838,7 @@ void Player::HandleFall(MovementInfo const& movementInfo)
}
//Z given by moveinfo, LastZ, FallTime, WaterZ, MapZ, Damage, Safefall reduction
TC_LOG_DEBUG("entities.player", "FALLDAMAGE z=%f sz=%f pZ=%f FallTime=%d mZ=%f damage=%d SF=%d", movementInfo.pos.GetPositionZ(), height, GetPositionZ(), movementInfo.jump.fallTime, height, damage, safe_fall);
TC_LOG_DEBUG("entities.player.falldamage", "FALLDAMAGE z=%f sz=%f pZ=%f FallTime=%d mZ=%f damage=%d SF=%d\nPlayer debug info:\n%s", movementInfo.pos.GetPositionZ(), height, GetPositionZ(), movementInfo.jump.fallTime, height, damage, safe_fall, GetDebugInfo().c_str());
}
}
}