mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-04-28 15:57:59 +03:00
Fix display pickup string not being interpolated in 60FPS mode
This commit is contained in:
parent
903fdf288f
commit
45d46e0e6b
2 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ TombEngine releases are located in this repository (alongside with Tomb Editor):
|
|||
## [Version 1.7.X] (link to release) - yyyy-mm-dd
|
||||
|
||||
### Bug fixes
|
||||
* Fixed display pickup numeric string not being interpolated in 60FPS mode.
|
||||
* Fixed two block platform room portal traversal failing in some cases.
|
||||
* Fixed incorrect handling of dynamic light shadows.
|
||||
* Fixed ricochet flashes after using explosive weapons.
|
||||
|
|
|
@ -758,7 +758,7 @@ namespace TEN::Renderer
|
|||
if (pickup.Count != 1)
|
||||
{
|
||||
auto countString = (pickup.Count != NO_VALUE) ? std::to_string(pickup.Count) : COUNT_STRING_INF;
|
||||
auto countStringPos = pickup.Position + COUNT_STRING_OFFSET;
|
||||
auto countStringPos = pos + COUNT_STRING_OFFSET;
|
||||
|
||||
AddString(countString, countStringPos, Color(PRINTSTRING_COLOR_WHITE), pickup.StringScale, SF());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue