Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
No Subject
------- Forwarded Message
Return-Path: frankj@ifi.uio.no
Received: from yrsa.ifi.uio.no by ifi.uio.no with SMTP
id <AAifi.uio.no29653>; Thu, 10 Sep 1992 22:40:57 +0200
From: Frank Tore Johansen <frankj@ifi.uio.no>
Received: by yrsa.ifi.uio.no ; Thu, 10 Sep 1992 22:40:56 +0200
Message-Id: <199209102040.AAyrsa11646@yrsa.ifi.uio.no>
Subject: Re: BUG Found
To: mel1 (Douglas Melamed)
Date: Thu, 10 Sep 1992 22:40:55 +0200
In-Reply-To: <9209101953.AA28756@soc10.acpub.duke.edu>; from "Douglas
Melamed" at Sep 10, 92 3:53 pm
X-Mailer: ELM [version 2.3 PL11]
Status: RO
> Also I'm rewriting the save code, and whenever I load a character and
> try to insert their inventory back into them the fix_player function
> called from insert_ob_in_ob changes there hp.max and sp.max, I can't figure
> out why this should happen. Again the operative word is HELP! besides those
> two problems I've got working save code, So if you have any suggestions or
> fixes please let me know.
The problem is in the player structure. If you're not fainhearted, have a
look in the global.h file below the object structure. Yes, it's messy.
Some of those variables has to be saved along with the object.
The lev_hp and lev_sp arrays are among them.
- -Frank.
------- End of Forwarded Message