Phobos-developers / Phobos

Ares-compatible C&C Red Alert 2: Yuri's Revenge engine extension
GNU Lesser General Public License v3.0
300 stars 95 forks source link

HeightShadowScaling glitches #1360

Closed MigEater closed 3 months ago

MigEater commented 3 months ago

Description

HeightShadowScaling= glitches if you play more then one game in a row.

Phobos Version

Build 43

Conditions to reproduce

Ares v3.0 Kratos v0.1.13 D-day v3.8

INI code

[AudioVisual]
HeightShadowScaling=true

Steps to reproduce

Start RA2 and then play a skirmish game, build a jumpjet or aircraft and their shadow will scale as expected. Exit the skirmish game and start another, build a jumpjet or aircraft and the shadows will be glitched.

Expected behaviour

The shadow should scale consistently in every game played.

Actual behaviour

After playing the first game jumpjet and aircraft shadows will be fixed at either full size or tiny and on a few occasions they were completely messed up (see screenshot).

shad_error

Additional context

During one game when the shadows were glitch the game crashed when building a jumpjet unit. except.txt file included can provide extcrashdump if needed. except.txt

Checklist

MigEater commented 3 months ago

After some more testing I found that this is a problem with Kratos and not Phobos.