[Top][All Lists]

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

Re: Re: [Enigma-devel] Enigma 0.92

From: space_man
Subject: Re: Re: [Enigma-devel] Enigma 0.92
Date: Mon, 6 Jun 2005 14:57:18 +0000

From: Petr Machata <address@hidden>
Date: 2005/06/06 Mon AM 12:48:15 GMT
To: Daniel Heck <address@hidden>
CC: address@hidden
Subject: Re: [Enigma-devel] Enigma 0.92

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


--- enigma-0.92/data/levels/ralf_pento.lua      2004-12-30 14:19:56.000000000 
+++ _enigma-0.92/data/levels/ralf_pento.lua     2005-06-06 02:15:18.000000000 
@@ -110,7 +110,7 @@
    while (state[i]==0) do i = i+1 end
    local up = floor(i/5);
-   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

Attachment: signature.asc
Description: OpenPGP digital signature

Enigma-devel mailing list

reply via email to

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