- 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
+DONTSPLASH
RenderStyle None
CameraHeight 0
}
ACTOR AimingCamera : SecurityCamera native

View File

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

View File

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