- Posts: 452
- Thank you received: 79
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
thomas wrote: I'm not sure I made myself clear.
All of these places, GET_DEX(ch) is used to lookup in an array:
github.com/tbamud/tbamud/blob/2f12752373.../act.movement.c#L595
github.com/tbamud/tbamud/blob/2f12752373...src/act.other.c#L117
github.com/tbamud/tbamud/blob/2f12752373...f8a4/src/fight.c#L92
We are in C here, so array[100000] is a valid statement, regardless of whether the array only has one element. This can cause all sorts of problems.
Unless you have fixed it, STRENGTH_APPLY_INDEX gives you the same problem.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
tbaMUD © 2024