|
From: <gjh...@us...> - 2003-09-05 20:40:56
|
Update of /cvsroot/mistmud/mistmud
In directory sc8-pr-cvs1:/tmp/cvs-serv29272
Modified Files:
interpreter.c
Log Message:
- force chars in creation to do their race before class
- log the room number that commands are entered in, help debugging
- partial merge from 1.3.20
Index: interpreter.c
===================================================================
RCS file: /cvsroot/mistmud/mistmud/interpreter.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** interpreter.c 10 Aug 2003 02:11:56 -0000 1.18
--- interpreter.c 5 Sep 2003 20:40:52 -0000 1.19
***************
*** 270,274 ****
}
! sprintf(buf, "!!%s:%s", ch->player.name, argument);
slog(buf);
--- 270,274 ----
}
! sprintf(buf, "!![%d] %s:%s", ch->in_room, ch->player.name, argument);
slog(buf);
***************
*** 2338,2341 ****
--- 2338,2346 ----
break;
case '4':
+ if( GET_RACE(d->character) == 0 ) {
+ SEND_TO_Q("\n\rPlease choose your race first.\n\r", d );
+ EnterState( d, CON_CREATION_MENU );
+ break;
+ }
GET_ALIGNMENT(d->character) = 0;
send_to_char("class", d->character);
|