summaryrefslogtreecommitdiff
path: root/src/d/menu/d_menu_window.cpp
diff options
context:
space:
mode:
authorTrueffel <106771418+Trueffeloot@users.noreply.github.com>2024-03-31 09:09:48 +0200
committerGitHub <noreply@github.com>2024-03-31 10:09:48 +0300
commit4cbf3e121bd5e477cd06ecb1d3a940199ec3d3db (patch)
treee4da7b540b279282992348d361ee939c0fb39ead /src/d/menu/d_menu_window.cpp
parenta42689be4737f4885ee698cf3ec8b7de6b40170d (diff)
Some documentation on d_menu_fishing (#2115)
* d_menu_fishing documentation pass * some changes on d_menu_ring and d_menu_skill
Diffstat (limited to 'src/d/menu/d_menu_window.cpp')
-rw-r--r--src/d/menu/d_menu_window.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/d/menu/d_menu_window.cpp b/src/d/menu/d_menu_window.cpp
index 379e37e691..e32ce29cd4 100644
--- a/src/d/menu/d_menu_window.cpp
+++ b/src/d/menu/d_menu_window.cpp
@@ -1835,7 +1835,7 @@ void dMw_c::collect_letter_close_proc() {
/* 801FB91C-801FB9AC 1F625C 0090+00 1/0 0/0 0/0 .text collect_fishing_open_proc__5dMw_cFv
*/
void dMw_c::collect_fishing_open_proc() {
- if (mpMenuFishing->getStatus() == 1) {
+ if (mpMenuFishing->getStatus() == dMenu_Fishing_c::READY_OPEN) {
mpMenuFishing->_open();
if (field_0x152 == 0 && mpMenuFishing->isSync()) {
@@ -1844,7 +1844,7 @@ void dMw_c::collect_fishing_open_proc() {
}
}
- if (mpMenuFishing->getStatus() == 2 && field_0x152 == 1) {
+ if (mpMenuFishing->getStatus() == dMenu_Fishing_c::READY_MOVE && field_0x152 == 1) {
mMenuStatus = FISHING_MOVE;
field_0x152 = 0;
}
@@ -1853,11 +1853,11 @@ void dMw_c::collect_fishing_open_proc() {
/* 801FB9AC-801FBA00 1F62EC 0054+00 1/0 0/0 0/0 .text collect_fishing_move_proc__5dMw_cFv
*/
void dMw_c::collect_fishing_move_proc() {
- if (mpMenuFishing->getStatus() == 2) {
+ if (mpMenuFishing->getStatus() == dMenu_Fishing_c::READY_MOVE) {
mpMenuFishing->_move();
}
- if (mpMenuFishing->getStatus() == 3) {
+ if (mpMenuFishing->getStatus() == dMenu_Fishing_c::READY_CLOSE) {
mMenuStatus = FISHING_CLOSE;
}
}