diff options
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r-- | src/map/pc.cpp | 3 |
1 files changed, 3 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; |