NANCY: Add sensible default listener on new scene

Whenever a SceneChangeDescription is constructed
manually (e.g. in Conversation), it now has its
listenerFrontVector initialized with the default value
(pointing straight forward).
This commit is contained in:
Kaloyan Chehlarski 2024-02-10 00:10:29 +01:00
parent b508ea4740
commit c0a529c763

View File

@ -155,7 +155,7 @@ struct SceneChangeDescription {
int8 paletteID = -1; // TVD only
Math::Vector3d listenerFrontVector;
Math::Vector3d listenerFrontVector = Math::Vector3d(0, 0, 1);
uint16 frontVectorFrameID = 0;
void readData(Common::SeekableReadStream &stream, bool longFormat = false);