Skip to content

Commit

Permalink
Fixed ezEngine#1385: Main View Camera isn't used if no player object …
Browse files Browse the repository at this point in the history
…is spawned (ezEngine#1386)
  • Loading branch information
jankrassnigg authored Sep 3, 2024
1 parent 7b1c4ff commit 5c2f67d
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ ezResult ezFallbackGameState::SpawnPlayer(ezStringView sStartPosition, const ezT

if (m_pMainWorld)
{
m_iActiveCameraComponentIndex = -1; // set free camera

// TODO: find sStartPosition as base location

m_MainCamera.LookAt(startPositionOffset.m_vPosition, startPositionOffset.m_vPosition + startPositionOffset.m_qRotation * ezVec3(1, 0, 0),
Expand Down

0 comments on commit 5c2f67d

Please sign in to comment.