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

Comparing deliantra/server/server/player.c (file contents):
Revision 1.4 by root, Thu Feb 9 02:11:26 2006 UTC vs.
Revision 1.5 by root, Fri Feb 10 04:35:33 2006 UTC

1/* 1/*
2 * static char *rcsid_player_c = 2 * static char *rcsid_player_c =
3 * "$Id: player.c,v 1.4 2006/02/09 02:11:26 root Exp $"; 3 * "$Id: player.c,v 1.5 2006/02/10 04:35:33 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
2198 */ 2198 */
2199int handle_newcs_player(object *op) 2199int handle_newcs_player(object *op)
2200{ 2200{
2201 if (op->contr->hidden) { 2201 if (op->contr->hidden) {
2202 op->invisible = 1000; 2202 op->invisible = 1000;
2203 /* the socket code flasehs the player visible/invisible 2203 /* the socket code flashes the player visible/invisible
2204 * depending on the value if invisible, so we need to 2204 * depending on the value of invisible, so we need to
2205 * alternate it here for it to work correctly. 2205 * alternate it here for it to work correctly.
2206 */ 2206 */
2207 if (pticks & 2) op->invisible--; 2207 if (pticks & 2) op->invisible--;
2208 } 2208 }
2209 else if(op->invisible&&!(QUERY_FLAG(op,FLAG_MAKE_INVIS))) { 2209 else if(op->invisible&&!(QUERY_FLAG(op,FLAG_MAKE_INVIS))) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines