mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 16:03:24 +00:00
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:
parent
b508ea4740
commit
c0a529c763
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user