diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/logicpuzzle/battleship.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/logicpuzzle/battleship.sty | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/logicpuzzle/battleship.sty b/Master/texmf-dist/tex/latex/logicpuzzle/battleship.sty index 3dfde6d9a5a..7e5739cac8b 100644 --- a/Master/texmf-dist/tex/latex/logicpuzzle/battleship.sty +++ b/Master/texmf-dist/tex/latex/logicpuzzle/battleship.sty @@ -23,7 +23,7 @@ % http://en.wikipedia.org/wiki/Battleship_%28puzzle%29 % http://de.wikipedia.org/wiki/Bimaru % -\ProvidesPackage{battleship}[2013/03/25 battleship.sty v1.4 - Josef Kleber (C) 2013]% +\ProvidesPackage{battleship}[2013/04/10 battleship.sty v1.4a - Josef Kleber (C) 2013]% % \RequirePackage{logicpuzzle}% % @@ -141,15 +141,15 @@ \ifnum\value{LP@counti}=1% \placesegment{#2}{#3}{\Ship}% \else% - \setcounter{LP@whiledo}{\value{LP@counti}}% - \addtocounter{LP@whiledo}{-2}% length of middle ship + \setcounter{LP@whiledo@i}{\value{LP@counti}}% + \addtocounter{LP@whiledo@i}{-2}% length of middle ship \ifthenelse{\equal{#1}{V}}% {% \placesegment{#2}{#3}{\ShipB}% \setcounter{LP@countii}{#3}% - \whiledo{\value{LP@whiledo}>0}% + \whiledo{\value{LP@whiledo@i}>0}% {% - \addtocounter{LP@whiledo}{-1}% + \addtocounter{LP@whiledo@i}{-1}% \stepcounter{LP@countii}% \placesegment{#2}{\theLP@countii}{\ShipC}% }% @@ -161,9 +161,9 @@ {% \placesegment{#2}{#3}{\ShipL}% \setcounter{LP@counti}{#2}% - \whiledo{\value{LP@whiledo}>0}% + \whiledo{\value{LP@whiledo@i}>0}% {% - \addtocounter{LP@whiledo}{-1}% + \addtocounter{LP@whiledo@i}{-1}% \stepcounter{LP@counti}% \placesegment{\theLP@counti}{#3}{\ShipC}% }% |