1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-29 23:07:48 +02:00

vcmi: modernize lib/spells (except adventure one, needs major rework)

This commit is contained in:
Konstantin
2023-02-11 18:18:05 +03:00
parent 8661496f6c
commit 97fc424e98
13 changed files with 100 additions and 208 deletions

View File

@@ -16,12 +16,6 @@
VCMI_LIB_NAMESPACE_BEGIN
ObjectPosInfo::ObjectPosInfo():
pos(), id(Obj::NO_OBJ), subId(-1), owner(PlayerColor::CANNOT_DETERMINE)
{
}
ObjectPosInfo::ObjectPosInfo(const CGObjectInstance * obj):
pos(obj->visitablePos()), id(obj->ID), subId(obj->subID), owner(obj->tempOwner)
{