Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/gumps/Spellbook_gump.cc b/gumps/Spellbook_gump.cc
- index 68cbd3c..19e07b1 100644
- --- a/gumps/Spellbook_gump.cc
- +++ b/gumps/Spellbook_gump.cc
- @@ -164,6 +164,10 @@ bool Bookmark_button::activate(
- int bmpage = sgump->book->bookmark / 8; // Bookmark's page.
- // On a different, valid page?
- if (bmpage >= 0 && bmpage != sgump->page)
- + while (bmpage < sgump->page)
- + sgump->change_page(-1);
- + while (bmpage > sgump->page)
- + sgump->change_page(1);
- sgump->change_page(bmpage - sgump->page);
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement