--- deliantra/server/socket/request.C 2006/12/23 09:41:55 1.52 +++ deliantra/server/socket/request.C 2006/12/25 14:54:44 1.54 @@ -1013,6 +1013,9 @@ char buf[MAX_BUF]; uint16 flags; + if (!pl->ns) + return; + packet sl ("stats"); if (pl->ob) @@ -1505,7 +1508,7 @@ /* If there is no object for this space, or if the face for the object * is the blank face, set the smoothlevel to zero. */ - if (!ob || ob->face == blank_face || MAP_NOSMOOTH (mp)) + if (!ob || ob->face == blank_face || mp->nosmooth) smoothlevel = 0; else { @@ -2083,6 +2086,9 @@ void esrv_update_spells (player *pl) { + if (!pl->ns) + return; + if (!pl->ns->monitor_spells) return;