summaryrefslogtreecommitdiff
path: root/src/map/map.cpp
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-08-22 13:36:30 -0400
committermekolat <mekolat@users.noreply.github.com>2016-04-15 11:46:14 -0400
commitdb232cbf9f4797433d1d9ba8f5dd58fc44a04180 (patch)
treeaa55f485d0f38345a96f4d49c91932f7d50d72f6 /src/map/map.cpp
parenta5058369055b26bdba51806f3e2457a067670f7a (diff)
downloadtmwa-db232cbf9f4797433d1d9ba8f5dd58fc44a04180.tar.gz
tmwa-db232cbf9f4797433d1d9ba8f5dd58fc44a04180.tar.bz2
tmwa-db232cbf9f4797433d1d9ba8f5dd58fc44a04180.tar.xz
tmwa-db232cbf9f4797433d1d9ba8f5dd58fc44a04180.zip
fix compilation errors
Diffstat (limited to 'src/map/map.cpp')
-rw-r--r--src/map/map.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/map.cpp b/src/map/map.cpp
index 362d5d2..e7b0da8 100644
--- a/src/map/map.cpp
+++ b/src/map/map.cpp
@@ -573,8 +573,6 @@ void map_delobject(BlockId id, BL type)
return;
map_delobjectnofree(id, type);
- if (obj->bl_type == BL::PC) // [Fate] Not sure where else to put this... I'm not sure where delobject for PCs is called from
- pc_cleanup(obj->is_player());
MapBlockLock::freeblock(obj);
}