ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/server/main.c
(Generate patch)

Comparing deliantra/server/server/main.c (file contents):
Revision 1.1.1.2 by elmex, Wed Feb 22 18:03:21 2006 UTC vs.
Revision 1.2 by root, Fri Feb 3 07:25:25 2006 UTC

1/* 1/*
2 * static char *rcsid_main_c = 2 * static char *rcsid_main_c =
3 * "$Id: main.c,v 1.1.1.2 2006/02/22 18:03:21 elmex Exp $"; 3 * "$Id: main.c,v 1.2 2006/02/03 07:25:25 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
55 55
56void version(object *op) { 56void version(object *op) {
57 if(op!=NULL) 57 if(op!=NULL)
58 clear_win_info(op); 58 clear_win_info(op);
59 59
60 new_draw_info_format(NDI_UNIQUE, 0, op, "This is Crossfire v%s",VERSION); 60 new_draw_info_format(NDI_UNIQUE, 0, op, "This is Crossfire v%s-schmorp-cvs",VERSION);
61 61
62/* If in a socket, don't print out the list of authors. It confuses the 62/* If in a socket, don't print out the list of authors. It confuses the
63 * crossclient program. 63 * crossclient program.
64 */ 64 */
65 if (op==NULL) return; 65 if (op==NULL) return;
720 * exits, but right now a lot of the code looks at op->contr, 720 * exits, but right now a lot of the code looks at op->contr,
721 * so thta is an RFE. 721 * so thta is an RFE.
722 */ 722 */
723 if (op->type != PLAYER) return; 723 if (op->type != PLAYER) return;
724 724
725 /* Need to remove player from transport */
726 if (op->contr->transport) apply_transport(op, op->contr->transport, AP_UNAPPLY);
727
728 /* First, lets figure out what map the player is going to go to */ 725 /* First, lets figure out what map the player is going to go to */
729 if (exit_ob){ 726 if (exit_ob){
730 727
731 /* check to see if we make a template map */ 728 /* check to see if we make a template map */
732 if(EXIT_PATH(exit_ob)&&EXIT_PATH(exit_ob)[1]=='@') { 729 if(EXIT_PATH(exit_ob)&&EXIT_PATH(exit_ob)[1]=='@') {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines