[ 1681811 ] Ring of levitation - "Lev" status changes late

View: New views
2 Messages — Rating Filter:   Alert me  

[ 1681811 ] Ring of levitation - "Lev" status changes late

by likeyou dontknow :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I had the same problem on 0.0.8E0F1 installed on Fedora Core 6. If it is really a problem, this seems to have fixed it (Oh, it was true for boots of levitation also. Also included in the patch):


--- do_wear.c   2007-04-25 11:05:10.000000000 -0700
+++ ../../../slashem_unchanged/slashem-0.0.8E0F1/src/do_wear.c  2006-12-30 05:04:53.000000000 -0800
@@ -120,7 +120,6 @@
                        makeknown(uarmf->otyp);
                        float_up();
                        spoteffects(FALSE);
-                       flags.botl = 1;
                }
                break;
        default: impossible(unknown_type, c_boots, uarmf->otyp);
@@ -169,7 +168,6 @@
                if (!oldprop && !HLevitation && !cancelled_don) {
                        (void) float_down(0L, 0L);
                        makeknown(otyp);
-                       flags.botl = 1;
                }
                break;
        case LOW_BOOTS:
@@ -855,7 +853,6 @@
                    float_up();
                    makeknown(RIN_LEVITATION);
                    spoteffects(FALSE); /* for sinks */
-                   flags.botl = 1;
                }
                break;
        case RIN_GAIN_STRENGTH:
@@ -1000,7 +997,6 @@
        case RIN_LEVITATION:
                (void) float_down(0L, 0L);
                if (!Levitation) makeknown(RIN_LEVITATION);
-               flags.botl = 1;
                break;
        case RIN_GAIN_STRENGTH:
                which = A_STR;


Cheers,
Michael


Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Slashem-devel mailing list
Slashem-devel@...
https://lists.sourceforge.net/lists/listinfo/slashem-devel

Re: [ 1681811 ] Ring of levitation - "Lev" status changes late

by J. Ali Harlow-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2007-04-25 07:19:19 PM, likeyou dontknow wrote:
> I had the same problem on 0.0.8E0F1 installed on Fedora Core 6. If it
> is really a problem, this seems to have fixed it (Oh, it was true for
> boots of levitation also. Also included in the patch):

Thanks. Your patch was back-to-front and I think it's probably better  
to set botl before calling float_up/down etc (the idea being that if  
any messages are output as a consequence of levitating, the status line  
will be correct at the --more-- prompt). I'm not sure it makes any  
difference in practice. Anyway, applied to the devel and stable  
branches.

Cheers,

Ali.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Slashem-devel mailing list
Slashem-devel@...
https://lists.sourceforge.net/lists/listinfo/slashem-devel