objects: assign default sprite lighting if not set

This restores default shading on sprites that have values below zero
(i.e. TombEditor default) in the level file.

Resolves #2701.
This commit is contained in:
lahm86 2025-04-05 16:38:49 +01:00
parent d1986f82d7
commit 1717158094
4 changed files with 8 additions and 2 deletions

View file

@ -4,6 +4,7 @@
- fixed objects disappearing too early around screen edges (#2005)
- fixed trapezoid filter warping on faces close to the camera (#2629, regression from 4.9)
- fixed Mac builds crashing upon start (regression from 4.9)
- fixed sprites rendering black if no shade value is assigned in the level (#2701, regression from 4.9)
- improved rendering performance
## [4.9](https://github.com/LostArtefacts/TRX/compare/tr1-4.8.3...tr1-4.9) - 2025-03-31