Wow! You not only found a bug, but a discrepancy between the SVGAlib and
ncurses versions.

Here's the fix (extra code included to make it easier to spot):

         if (amount <= cash)
         {
            cash -= amount;
            damage -= (int)((amount / br) + .5);
            damage = (damage < 0) ? 0 : damage;
            port_stats();
            break;
         }

Thanks!


------------------------------------------------------------------
Unsubscribe:  To:   [EMAIL PROTECTED]
              Body: unsubscribe linux-svgalib

Reply via email to