summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDastgir <dastgirp@gmail.com>2019-10-12 14:09:10 +0530
committerHaru <haru@dotalux.com>2019-11-17 15:24:46 +0100
commitea9895e5261a1496bc8ac8e0c7be5fab3d6d4ef9 (patch)
tree4628d341f0c172239623d6b3ea74ae30977931a1 /src
parentebbed2342dbb7324295217ac7cf46f5e9da2fc0b (diff)
downloadhercules-ea9895e5261a1496bc8ac8e0c7be5fab3d6d4ef9.tar.gz
hercules-ea9895e5261a1496bc8ac8e0c7be5fab3d6d4ef9.tar.bz2
hercules-ea9895e5261a1496bc8ac8e0c7be5fab3d6d4ef9.tar.xz
hercules-ea9895e5261a1496bc8ac8e0c7be5fab3d6d4ef9.zip
Seperated LOG_TYPE_LOOT to new ID
Diffstat (limited to 'src')
-rw-r--r--src/map/log.c2
-rw-r--r--src/map/log.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/map/log.c b/src/map/log.c
index aa2f5f8f3..e4b5667e1 100644
--- a/src/map/log.c
+++ b/src/map/log.c
@@ -48,7 +48,7 @@ static char log_picktype2char(e_log_pick_type type)
switch( type ) {
case LOG_TYPE_TRADE: return 'T'; // (T)rade
case LOG_TYPE_VENDING: return 'V'; // (V)ending
- case LOG_TYPE_PICKDROP_PLAYER: return 'P'; // (P)player
+ case LOG_TYPE_PICKDROP_PLAYER: return 'P'; // (P)layer
case LOG_TYPE_PICKDROP_MONSTER: return 'M'; // (M)onster
case LOG_TYPE_NPC: return 'S'; // NPC (S)hop
case LOG_TYPE_SCRIPT: return 'N'; // (N)PC Script
diff --git a/src/map/log.h b/src/map/log.h
index 116d99bfd..80835645f 100644
--- a/src/map/log.h
+++ b/src/map/log.h
@@ -87,9 +87,8 @@ typedef enum e_log_pick_type {
LOG_TYPE_QUEST = 0x02000000,
LOG_TYPE_SKILL = 0x04000000,
LOG_TYPE_REFINE = 0x08000000,
+ LOG_TYPE_LOOT = 0x10000000,
- // combinations
- LOG_TYPE_LOOT = LOG_TYPE_PICKDROP_MONSTER|LOG_TYPE_CONSUME,
// all
LOG_TYPE_ALL = 0xFFFFFFFF,
} e_log_pick_type;