]> git.localhorst.tv Git - l2e.git/blobdiff - src/battle/PartyLayout.h
changed party layout position interpretation to better reflect the original game
[l2e.git] / src / battle / PartyLayout.h
index df247f348ad1b8110ecae3bcd2bac3528d9e12ff..d16f2bdd6eb678212b60e1c098cdbdc3b2777f87 100644 (file)
@@ -28,8 +28,8 @@ public:
                dest.reserve(positions.size());
                for (std::vector<geometry::Point<Uint8> >::const_iterator i(positions.begin()), end(positions.end()); i != end; ++i) {
                        dest.push_back(geometry::Point<U>(
-                                       i->X() * width / 256,
-                                       i->Y() * height / 256
+                                       i->X() * width / 255,
+                                       i->Y() * height / 223
                                        ));
                }
        }