update.c
dream/update.c · 370 B
From the archive mysqldream.tar.gz
Download the archive « Back to the archive contents
void raw_kill args((CHAR_DATA * ch));
+ void dream_event args((CHAR_DATA * ch));
if (ch->position == POS_SLEEPING)
{
+ dream_event(ch);
if (ch->pcdata->condition[COND_SLEEP] < 100)
+ ch->pcdata->condition[COND_SLEEP] += 5;
+ else
+ {
+ ch->pcdata->condition[COND_SLEEP] = 100;
+ do_function(ch, &do_wake, "");
+ }
}