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.285 by root, Wed May 4 07:41:14 2011 UTC vs.
Revision 1.286 by root, Wed May 4 19:04:45 2011 UTC

2183 op->invisible = 1000; 2183 op->invisible = 1000;
2184 /* the socket code flashes the player visible/invisible 2184 /* the socket code flashes the player visible/invisible
2185 * depending on the value of invisible, so we need to 2185 * depending on the value of invisible, so we need to
2186 * alternate it here for it to work correctly. 2186 * alternate it here for it to work correctly.
2187 */ 2187 */
2188 if (pticks & 2) 2188 if (server_tick & 2)
2189 op->invisible--; 2189 op->invisible--;
2190 } 2190 }
2191 else if (op->invisible && !(op->flag [FLAG_MAKE_INVIS])) 2191 else if (op->invisible && !(op->flag [FLAG_MAKE_INVIS]))
2192 { 2192 {
2193 if (!op->invisible--) 2193 if (!op->invisible--)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines