It'd be in save.c.

But looking through fwrite_char() (where the saving is done) it
doesn't look like what the character's on is saved.

The loading takes place in fread_char().

If you wanted to make this work, you'd have to add in saving, and
figure out a way to load it, which wouldn't be easy, because the
player isn't actually in the room when he's loaded, and furthermore
there's no guarantee that the bed or whatever will still be in the
room when the player does load, or there may be somebody else on it.

And I think you might want to put in the modified if statement anyway.
Have you tried waking characters who aren't on objects? I'm not
entirely sure on how ROM does it, but it seems that might crash too
without the victim->on!=NULL check.

-David

On 4/14/05, Brinny <[EMAIL PROTECTED]> wrote:
> Yeah, that totally makes sense! Thank ya. Which file
> would I go into to set ch->on when the player loads?
> (I'm really newbie to this stuff :)) Thanks!
> 
> Brittany.

Reply via email to