summaryrefslogtreecommitdiff
path: root/src/d/d_shop_system.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2025-05-17 09:56:20 -0700
committerGitHub <noreply@github.com>2025-05-17 19:56:20 +0300
commitd1a5f8d71c6660b3f06781ef56f7f0cdec663cba (patch)
treec87f8998e3aa956f6dba040cea296bf812af720c /src/d/d_shop_system.cpp
parent165095b3d9cbb89b5a2e40a67b1f3c5c223ba763 (diff)
cleanup d_msg_flow (#2447)
Diffstat (limited to 'src/d/d_shop_system.cpp')
-rw-r--r--src/d/d_shop_system.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/d/d_shop_system.cpp b/src/d/d_shop_system.cpp
index 0c842211ad..b90f77f7ab 100644
--- a/src/d/d_shop_system.cpp
+++ b/src/d/d_shop_system.cpp
@@ -1219,11 +1219,11 @@ int dShopSystem_c::seq_choose(fopAc_ac_c* actor, dMsgFlow_c* i_flow) {
i_flow->doFlow(actor, NULL, 0);
- int select_num = i_flow->getSelectNum();
+ u16 select_num = i_flow->getSelectNum();
if (dMsgObject_c::getStatus() != 6 && dMsgObject_c::getStatus() != 8 &&
dMsgObject_c::getStatus() != 9 && dMsgObject_c::getStatus() != 20)
{
- if ((u16)select_num == 0) {
+ if (select_num == 0) {
setSeq(SEQ_DECIDE_YES);
} else {
setSeq(SEQ_DECIDE_NO);