mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-02 17:57:59 +03:00
Use separate shadow modes for different kinds of objects
This commit is contained in:
parent
9a32b99ae8
commit
f768fd03bd
16 changed files with 156 additions and 148 deletions
|
@ -410,7 +410,7 @@ void StartTraps()
|
|||
auto* object = &Objects[ID_DARTS];
|
||||
if (object->loaded)
|
||||
{
|
||||
object->castsShadow = true;
|
||||
object->shadowType = ShadowMode::All;
|
||||
//object->drawRoutine = DrawDart;
|
||||
object->collision = ObjectCollision;
|
||||
object->control = DartControl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue