Permalink
Browse files

Fixed laser camera issue.

  • Loading branch information...
1 parent 9ce7113 commit d090ce828704f817e247e6287e99b23012b493ed Kevin James Matzen committed Oct 28, 2009
Showing with 4 additions and 0 deletions.
  1. +4 −0 zenilib/src/GameCamera.cpp
@@ -164,6 +164,8 @@ void GameCamera::ResetCameraCollision()
position += heroPosition;
+ lookAt = heroPosition + Vector3f (0.0f, 0.0f, vertOffset);
+
cameraCollision = false;
}
@@ -192,6 +194,8 @@ bool GameCamera::ReduceDistance()
position += heroPosition;
+ lookAt = heroPosition + Vector3f (0.0f, 0.0f, vertOffset);
+
return true;
}

0 comments on commit d090ce8

Please sign in to comment.