Fixed: getGroundZ uses now float instead of int

--HG--
branch : compatibility-develop
hg/compatibility-develop
ulukyn 7 years ago
parent f6eee28b3e
commit b927d75287

@ -3454,7 +3454,7 @@ string CLuaIHMRyzom::getRegionByAlias(uint32 alias)
return ContinentMngr.getRegionNameByAlias(alias);
}
sint32 CLuaIHMRyzom::getGroundZ(uint32 x, sint32 y)
float CLuaIHMRyzom::getGroundZ(float x, float y)
{
CVector vect = UserEntity->pos();
vect.x = x;

@ -212,7 +212,7 @@ private:
static sint getCharacterSheetRegionForce(const std::string &sheet);
static sint getCharacterSheetRegionLevel(const std::string &sheet);
static std::string getRegionByAlias(uint32 alias);
static sint getGroundZ(uint32 x, sint32 y);
static float getGroundZ(float x, float y);
static int getGroundAtMouse(CLuaState &ls);
static int getMousePos(CLuaState &ls);
static int getMouseDown(CLuaState &ls);

Loading…
Cancel
Save