Skip to content

Commit

Permalink
GRIM/EMI: Fix bridge height check. See residualvm#842
Browse files Browse the repository at this point in the history
  • Loading branch information
Akz- committed Jun 14, 2014
1 parent 08f6e81 commit 102e16c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engines/grim/sector.cpp
Expand Up @@ -392,6 +392,7 @@ Common::List<Math::Line3d> Sector::getBridgesTo(Sector *sector) const {
}

// All the bridges should be at the same height on both sectors.
it = bridges.begin();
while (it != bridges.end()) {
if (g_grim->getGameType() == GType_MONKEY4) {
if (fabs(getProjectionToPlane((*it).begin()).y() - sector->getProjectionToPlane((*it).begin()).y()) > 0.01f ||
Expand Down

1 comment on commit 102e16c

@klusark
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks to be the same as the commit in residualvm#842. Could you change the authorship to him, but keep the commit message?

Please sign in to comment.