1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

vcmi: massive refactoring v1

This commit is contained in:
Konstantin
2023-04-05 03:26:29 +03:00
parent ee489f18d2
commit 11b237a23c
129 changed files with 803 additions and 762 deletions

View File

@ -102,7 +102,7 @@ int SetResourcesProxy::getAmount(lua_State * L)
if(!S.tryGet(1, object))
return S.retVoid();
Res::ERes type = Res::ERes::INVALID;
auto type = EGameResID::INVALID;
if(!S.tryGet(2, type))
return S.retVoid();
@ -122,7 +122,7 @@ int SetResourcesProxy::setAmount(lua_State * L)
if(!S.tryGet(1, object))
return S.retVoid();
Res::ERes type = Res::ERes::INVALID;
auto type = EGameResID::INVALID;
if(!S.tryGet(2, type))
return S.retVoid();