mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
New battlegrounds (#758)
This commit is contained in:
committed by
Andrii Danylchenko
parent
aaa07e4d2e
commit
c4035134e5
@@ -73,7 +73,7 @@ int BattleCbProxy::getBattlefieldType(lua_State * L)
|
||||
|
||||
auto ret = object->battleGetBattlefieldType();
|
||||
|
||||
return LuaStack::quickRetInt(L, static_cast<si32>(ret.num));
|
||||
return LuaStack::quickRetStr(L, ret);
|
||||
}
|
||||
|
||||
int BattleCbProxy::getTerrainType(lua_State * L)
|
||||
|
||||
Reference in New Issue
Block a user