changeset 10295 | ec6b68241575 |
parent 10294 | d98336fcd13d |
child 10297 | e5ed72b40c57 |
--- a/hedgewars/uScript.pas Fri Jun 13 12:22:24 2014 +0200 +++ b/hedgewars/uScript.pas Fri Jun 13 12:52:20 2014 +0200 @@ -1998,7 +1998,7 @@ begin placed:= false; if CheckLuaParameterCount(L, 3, 'PlaceGirder', 'x, y, frameIdx') then - placed:= TryPlaceOnLand( + placed:= TryPlaceOnLandSimple( lua_tointeger(L, 1) - SpritesData[sprAmGirder].Width div 2, lua_tointeger(L, 2) - SpritesData[sprAmGirder].Height div 2, sprAmGirder, lua_tointeger(L, 3), true, false);