Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redirect Teleport and Escape skills that target areas to the owning map #1254

Merged
merged 1 commit into from Aug 25, 2017

Conversation

Ghabry
Copy link
Member

@Ghabry Ghabry commented Aug 23, 2017

The only games affected by this are the two japanese Dragon Quest fangames DQ列伝 and DQ2悪霊の勇者・製品版

Fix #1253

The two new functions in Game_Map could be used in some other places, too but I'm too afraid to break something...

ReserveTeleport(target.map_id, target.map_x, target.map_y, Down);
int map_id = target.map_id;

if (Game_Map::GetMapType(target.map_id) == 2) {
Copy link
Member

Choose a reason for hiding this comment

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

We really need some enums/constants for such things.

Copy link
Member Author

Choose a reason for hiding this comment

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

I agree on this, but the build will fail now ;)

…and teleport to the parent map instead.

The only games affected by this are the two japanese Dragon Quest fangames DQ列伝 and DQ2悪霊の勇者・製品版

Fix EasyRPG#1253
@carstene1ns
Copy link
Member

jenkins: test this please

@carstene1ns carstene1ns merged commit 5d2d483 into EasyRPG:master Aug 25, 2017
@carstene1ns carstene1ns added this to the 0.5.3 milestone Aug 25, 2017
@Ghabry Ghabry deleted the issue-1253 branch September 24, 2017 21:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants