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

patch to make "fight formation" fail gracefully on non-existant formation #81

Closed
ohrrpgce-bugbot opened this issue Jun 12, 2005 · 4 comments
Labels
bug Yeah... that's broken rel: rusalka Present in rusalka 2005-10-03 scripts Script commands or interpreter. See also "hspeak" or "script import" labels

Comments

@ohrrpgce-bugbot
Copy link

[bz#81]

If you specify the formation that doesn't exists, the game still goes into the
battle mode, and then quits it like you have won the battle.
what this patch does is that it makes sure that the formation is in the
reasonable range, if not, it returns -1

From: Yuriy Melnichenko <yuriym19>
Reported version: 20051003 Rusalka

@ohrrpgce-bugbot
Copy link
Author

Comment author: Yuriy Melnichenko <yuriym19>

Created attachment 35
the patch for fight formation command

here is the patch

Attached file: fightformation.txt (text/plain, 571 bytes)
Description: the patch for fight formation command

@ohrrpgce-bugbot
Copy link
Author

Comment author: @pkmnfrk

Actually, bugs aren't marked closed until the patch has been applied. I'm
reopening it now, but I'll commit the patch, and all will be good.

@ohrrpgce-bugbot
Copy link
Author

Comment author: @pkmnfrk

Ok, the patch has been committed. NOW it can be closed.

@ohrrpgce-bugbot
Copy link
Author

Comment author: @bob-the-hamster

fixing summary

@ohrrpgce-bugbot ohrrpgce-bugbot added scripts Script commands or interpreter. See also "hspeak" or "script import" labels bug Yeah... that's broken rel: rusalka Present in rusalka 2005-10-03 labels Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Yeah... that's broken rel: rusalka Present in rusalka 2005-10-03 scripts Script commands or interpreter. See also "hspeak" or "script import" labels
Projects
None yet
Development

No branches or pull requests

1 participant