enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Enigma-devel] Enigma 0.92


From: Petr Machata
Subject: Re: [Enigma-devel] Enigma 0.92
Date: Mon, 06 Jun 2005 02:48:15 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20050119 MultiZilla/1.7.0.1j

Daniel Heck wrote:
> I just uploaded Enigma 0.92 to
>
> http://savannah.nongnu.org/download/enigma/?M=A
>
> I hope this finally fixes all showstoppers in the 0.90 series.
>
> Could anyone download and test this release and tell me whether it's
> working fine?

Hi, it's me, after some time. ./configure && make && make install works
(linux from scratch...), except for usual missing texinfo error. I
played a few levels (btw: enigma looks really slick by now, nice fonts,
nice error messages,... nice work) and hit a bug in ralf-pento1.lua. If
you move all wooden boxes out the grass field, it fails.

Quick patch is attached, but probably you want to wait what Ralf says,
I'm not entirely certain if I got the intent of the function.
Btw, Ralf: what about dropping a few comments here and there? ;)

>
> Cheers, Daniel

Petr

--- enigma-0.92/data/levels/ralf_pento.lua      2004-12-30 14:19:56.000000000 
+0100
+++ _enigma-0.92/data/levels/ralf_pento.lua     2005-06-06 02:15:18.000000000 
+0200
@@ -110,7 +110,7 @@
    while (state[i]==0) do i = i+1 end
    local up = floor(i/5);
    i=0
-   while (state[flip[i]]==0) do i = i+1 end
+   while (flip[i] and state[flip[i]]==0) do i = i+1 end
    local left = floor(i/5);
    return up,left
 end

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]