Re: sbyte and pfile

From: George (greerga@CIRCLEMUD.ORG)
Date: 03/15/98


On Sat, 14 Mar 1998, Patrick J. Dughi wrote:

>> Second, I want to change the range of the hitroll and damroll, currently
>> the max is 127.  Is there an easy way I can make this simple change
>> without wiping my pfile?  or how could I save it if it must go?
>
>        Shouldn't be a problem, I think the max is not limited by the type
>of variable, but rather within the code itself. I'd grep for -127 or 127,
>and GET_HITROLL or whatever the macro is called.

A signed byte is really a signed char, limits -128 to 127.  So the variable
does limit it, line 677 of structs.h

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST