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.163 by root, Thu Aug 23 17:16:17 2007 UTC vs.
Revision 1.164 by root, Thu Aug 23 17:56:25 2007 UTC

3009void 3009void
3010make_visible (object *op) 3010make_visible (object *op)
3011{ 3011{
3012 op->hide = 0; 3012 op->hide = 0;
3013 op->invisible = 0; 3013 op->invisible = 0;
3014
3014 if (op->type == PLAYER) 3015 if (op->type == PLAYER)
3015 { 3016 {
3016 op->contr->tmp_invis = 0; 3017 op->contr->tmp_invis = 0;
3017 op->contr->invis_race = 0; 3018 op->contr->invis_race = 0;
3018 } 3019 }
3031 3032
3032/* look at the surrounding terrain to determine 3033/* look at the surrounding terrain to determine
3033 * the hideability of this object. Positive levels 3034 * the hideability of this object. Positive levels
3034 * indicate greater hideability. 3035 * indicate greater hideability.
3035 */ 3036 */
3036
3037int 3037int
3038hideability (object *ob) 3038hideability (object *ob)
3039{ 3039{
3040 int i, level = 0, mflag; 3040 int i, level = 0, mflag;
3041 sint16 x, y; 3041 sint16 x, y;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines