Script: Added SKIN:ParseFormula()

This commit is contained in:
Birunthan Mohanathas
2012-03-08 15:46:36 +00:00
parent dca935f6ff
commit 55a1ec7e27
2 changed files with 87 additions and 91 deletions

View File

@ -77,7 +77,7 @@ static int Measure_ReadFormula(lua_State* L)
std::wstring strTmp = LuaManager::ToWide(L, 2);
double value = parser.ReadFormula(self->GetName(), strTmp.c_str(), tolua_tonumber(L, 3, 0));
lua_pushnumber(L, value);
return 1;
}