summaryrefslogtreecommitdiff
path: root/src/d/d_msg_object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/d/d_msg_object.cpp')
-rw-r--r--src/d/d_msg_object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/d/d_msg_object.cpp b/src/d/d_msg_object.cpp
index 32e34e243f..ab6560bab8 100644
--- a/src/d/d_msg_object.cpp
+++ b/src/d/d_msg_object.cpp
@@ -2223,7 +2223,7 @@ void dMsgObject_c::setDemoMessageLocal(u32 param_1) {
u16 dMsgObject_c::getSmellTypeMessageIDLocal() {
u16 msgId = 0;
int smell = dComIfGs_getCollectSmell();
- if (smell < SMELL_MEDICINE + 1 && smell >= SMELL_YELIA_POUCH) {
+ if (smell < fpcNm_ITEM_SMELL_MEDICINE + 1 && smell >= fpcNm_ITEM_SMELL_YELIA_POUCH) {
msgId = smell + 0x165;
} else {
if (dComIfGs_getCollectSmell() != -1) {