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

Comparing deliantra/server/server/apply.C (file contents):
Revision 1.6 by root, Thu Aug 17 20:23:31 2006 UTC vs.
Revision 1.7 by elmex, Thu Aug 24 05:04:46 2006 UTC

1/* 1/*
2 * static char *rcsid_apply_c = 2 * static char *rcsid_apply_c =
3 * "$Id: apply.C,v 1.6 2006/08/17 20:23:31 root Exp $"; 3 * "$Id: apply.C,v 1.7 2006/08/24 05:04:46 elmex Exp $";
4 */ 4 */
5/* 5/*
6 CrossFire, A Multiplayer game for X-windows 6 CrossFire, A Multiplayer game for X-windows
7 7
8 Copyright (C) 2001 Mark Wedel & Crossfire Development Team 8 Copyright (C) 2001 Mark Wedel & Crossfire Development Team
63 */ 63 */
64int apply_transport(object *pl, object *transport, int aflag) { 64int apply_transport(object *pl, object *transport, int aflag) {
65 65
66 /* Only players can use transports right now */ 66 /* Only players can use transports right now */
67 if (pl->type != PLAYER) return 0; 67 if (pl->type != PLAYER) return 0;
68
69 // due to brokenness of transports disable them until a working alternative
70 // has been found... :(
71 // - elmex
72 new_draw_info (NDI_UNIQUE, 0, pl, "This transport is out of order!");
73 return 1;
68 74
69 /* If player is currently on a transport but not this transport, they need 75 /* If player is currently on a transport but not this transport, they need
70 * to exit first. Perhaps transport to transport transfers should be 76 * to exit first. Perhaps transport to transport transfers should be
71 * allowed. 77 * allowed.
72 */ 78 */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines