- fixed the camera height setting for the camera actors.

The scripting branch changed camera semantics to default to an actor's center - which for monsters and decorations makes sense - but not for simple mapspots that get used as camera. For those the CameraHeight must be explicitly set to 0.
This commit is contained in:
Christoph Oelckers 2016-04-27 11:38:54 +02:00
parent d970be48f9
commit 61b165ccc4
3 changed files with 3 additions and 0 deletions

View file

@ -15,6 +15,7 @@ ACTOR SecurityCamera native
+NOGRAVITY +NOGRAVITY
+DONTSPLASH +DONTSPLASH
RenderStyle None RenderStyle None
CameraHeight 0
} }
ACTOR AimingCamera : SecurityCamera native ACTOR AimingCamera : SecurityCamera native

View file

@ -28,6 +28,7 @@ ACTOR ActorMover : PathFollower native
ACTOR MovingCamera : PathFollower native ACTOR MovingCamera : PathFollower native
{ {
CameraHeight 0
} }

View file

@ -51,6 +51,7 @@ ACTOR MapSpot
+NOGRAVITY +NOGRAVITY
+DONTSPLASH +DONTSPLASH
RenderStyle None RenderStyle None
CameraHeight 0
} }
// same with different editor number for Legacy maps ----------------------- // same with different editor number for Legacy maps -----------------------