summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/pc.cpp3
-rw-r--r--src/mmo/clif.t.hpp1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp
index 64e0a6e..7940812 100644
--- a/src/map/pc.cpp
+++ b/src/map/pc.cpp
@@ -3523,6 +3523,9 @@ int pc_readparam(dumb_ptr<block_list> bl, SP type)
case SP::BL_ID:
val = unwrap<BlockId>(bl->bl_id);
break;
+ case SP::BL_TYPE:
+ val = static_cast<uint8_t>(bl->bl_type);
+ break;
}
return val;
diff --git a/src/mmo/clif.t.hpp b/src/mmo/clif.t.hpp
index 377e953..fec0201 100644
--- a/src/mmo/clif.t.hpp
+++ b/src/mmo/clif.t.hpp
@@ -474,6 +474,7 @@ enum class SP : uint16_t
POS_Y = 1075,
PVP_CHANNEL = 1076,
BL_ID = 1077,
+ BL_TYPE = 1078,
};
constexpr