mirror of
https://github.com/vcmi/vcmi.git
synced 2026-05-22 09:55:17 +02:00
Implemented (basic) object construction and placement
* contain refactoring of RMG and class handling (will be more)
This commit is contained in:
@@ -188,6 +188,7 @@ void CRewardableConstructor::initTypeData(const JsonNode & config)
|
||||
CGObjectInstance * CRewardableConstructor::create(ObjectTemplate tmpl) const
|
||||
{
|
||||
auto ret = new CRewardableObject();
|
||||
preInitObject(ret);
|
||||
ret->appearance = tmpl;
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user