Re: [Circle] [Code] Help with a minor bug

From: Rasmus 'Con' Ronlev (
Date: 11/04/96

On Mon, 4 Nov 1996, Eric de Groot wrote:

>    I was wondering if any of you people could take a look at this lil piece
> number2 = GET_EXP(ch) - (titles[(int) GET_CLASS(ch)][GET_LEVEL(ch)].exp);
                                                       ^^^(int) added

That should fix the array subscript is char thingie..
The level identifier is a signed char tye in std. circlemud dist.


     Rasmus Rønlev DOEK'94      WWW:
     Student instructor         MUD: 5000
       Student, B.Sc in Computer Science and Business Administration.

| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

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