diff --git a/levels/avaraline-quirks-mode/alf/layout/heir-apparent.alf b/levels/avaraline-quirks-mode/alf/layout/heir-apparent.alf index 2be3d802..046cb3a8 100644 --- a/levels/avaraline-quirks-mode/alf/layout/heir-apparent.alf +++ b/levels/avaraline-quirks-mode/alf/layout/heir-apparent.alf @@ -214,10 +214,10 @@ - - - - + + + + diff --git a/src/game/CHologramActor.cpp b/src/game/CHologramActor.cpp index 5e8e58ae..79ca90da 100644 --- a/src/game/CHologramActor.cpp +++ b/src/game/CHologramActor.cpp @@ -19,6 +19,7 @@ void CHologramActor::BeginScript() { ProgramLongVar(iShape, 600); ProgramVariable(iRoll, 0); + ProgramVariable(iPitch, 0); ProgramLongVar(iIsAmbient, false); } @@ -39,6 +40,7 @@ CAbstractActor *CHologramActor::EndScript() { thePart->userFlags |= CBSPUserFlags::kIsAmbient; thePart->Reset(); thePart->RotateZ(ReadFixedVar(iRoll)); + thePart->RotateX(ReadFixedVar(iPitch)); thePart->RotateOneY(heading); TranslatePart(thePart, location[0], location[1], location[2]); thePart->MoveDone();