summaryrefslogtreecommitdiff
path: root/src/koopatlas/camera.cpp
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2013-02-07 03:40:41 +0100
committerTreeki <treeki@gmail.com>2013-02-07 03:40:41 +0100
commit9bc66b179bcc95e2bf94e69ef0da8b1281e3681b (patch)
tree1b4e5afcec6d9de1d71f774d3b7d1c802a8640a7 /src/koopatlas/camera.cpp
parenteb6e717bb85d1e789b7217f774147cad50f1076c (diff)
downloadkamek-9bc66b179bcc95e2bf94e69ef0da8b1281e3681b.tar.gz
kamek-9bc66b179bcc95e2bf94e69ef0da8b1281e3681b.zip
fix missing models on map in 4:3
Diffstat (limited to 'src/koopatlas/camera.cpp')
-rw-r--r--src/koopatlas/camera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/koopatlas/camera.cpp b/src/koopatlas/camera.cpp
index 856d38c..8b7ee10 100644
--- a/src/koopatlas/camera.cpp
+++ b/src/koopatlas/camera.cpp
@@ -183,7 +183,7 @@ void dWorldCamera_c::generateCameraMatrices() {
camera2d.calculateMatrix();
GXRenderModeObj *rmode = nw4r::g3d::G3DState::GetRenderModeObj();
- projection2d.setVolume(rmode->efbHeight, 0.0, 0.0, rmode->fbWidth * (IsWideScreen() ? 1.3333334f : 0));
+ projection2d.setVolume(rmode->efbHeight, 0.0, 0.0, rmode->fbWidth * (IsWideScreen() ? 1.3333334f : 1.0f));
}