Fix typo for tileset. thanks to Andre Novellino Gouvêa

This commit is contained in:
joris 2014-08-16 20:54:20 +02:00
parent f57e7edf11
commit 49c60110f9

View file

@ -322,7 +322,7 @@ void CTileset::parse(lua_State *l)
} else if (!strcmp(value, "image")) {
this->ImageFile = LuaToString(l, j);
} else if (!strcmp(value, "size")) {
CclGetPos(l, &this->pixelTileSize.x, &this->pixelTileSize.x, j);
CclGetPos(l, &this->pixelTileSize.x, &this->pixelTileSize.y, j);
} else if (!strcmp(value, "slots")) {
if (!lua_istable(l, j)) {
LuaError(l, "incorrect argument");