fix on-code documentation of EraseSprite
authorsheepluva
Wed, 02 Sep 2015 04:03:24 +0200
changeset 11060 506b6184f4af
parent 11059 659427d9fd17
child 11061 2f1efb11ddf3
fix on-code documentation of EraseSprite
hedgewars/uScript.pas
--- a/hedgewars/uScript.pas	Wed Sep 02 01:25:29 2015 +0200
+++ b/hedgewars/uScript.pas	Wed Sep 02 04:03:24 2015 +0200
@@ -2325,7 +2325,7 @@
     eraseOnLFMatch, onlyEraseLF, flipHoriz, flipVert : boolean;
 const
     call = 'EraseSprite';
-    params = 'x, y, sprite, frameIdx, eraseOnLFMatch, flipHoriz, flipVert, [, landFlag, ... ]';
+    params = 'x, y, sprite, frameIdx, eraseOnLFMatch, onlyEraseLF, flipHoriz, flipVert, [, landFlag, ... ]';
 begin
     if CheckAndFetchLuaParamMinCount(L, 4, call, params, n) then
         begin
@@ -2343,7 +2343,7 @@
         else flipVert := false;
         lf:= 0;
 
-        // accept any amount of landflags, loop is never executed if n>6
+        // accept any amount of landflags, loop is never executed if n<9
         for i:= 9 to n do
             lf:= lf or lua_tointeger(L, i);