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

Comparing deliantra/server/server/time.C (file contents):
Revision 1.4 by root, Tue Aug 29 05:03:55 2006 UTC vs.
Revision 1.5 by root, Tue Aug 29 07:34:01 2006 UTC

1/* 1/*
2 * static char *rcsid_time_c = 2 * static char *rcsid_time_c =
3 * "$Id: time.C,v 1.4 2006/08/29 05:03:55 root Exp $"; 3 * "$Id: time.C,v 1.5 2006/08/29 07:34:01 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
1249 free_object(op); 1249 free_object(op);
1250 } 1250 }
1251 return 1; 1251 return 1;
1252 } 1252 }
1253 switch(op->type) { 1253 switch(op->type) {
1254 case TRANSPORT:
1255 /* Transports are directed by players - thus, their
1256 * speed is reduced when the player moves them about.
1257 * So give them back there speed here, since process_objects()
1258 * has decremented it.
1259 */
1260 if (op->speed_left < 0.0) op->speed_left += 1.0;
1261 return 1;
1262 1254
1263 case SPELL_EFFECT: 1255 case SPELL_EFFECT:
1264 move_spell_effect(op); 1256 move_spell_effect(op);
1265 return 1; 1257 return 1;
1266 1258

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines