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

Comparing deliantra/server/socket/request.C (file contents):
Revision 1.176 by root, Thu Apr 29 15:59:10 2010 UTC vs.
Revision 1.177 by root, Sat Oct 16 22:51:52 2010 UTC

146 pl->ns->mapinfo_queue_clear (); 146 pl->ns->mapinfo_queue_clear ();
147 147
148 memset (&pl->ns->lastmap, 0, sizeof (pl->ns->lastmap)); 148 memset (&pl->ns->lastmap, 0, sizeof (pl->ns->lastmap));
149 149
150 pl->ns->force_newmap = false; 150 pl->ns->force_newmap = false;
151
152 if (pl->ns->newmapcmd == 1)
153 pl->ns->send_packet ("newmap"); 151 pl->ns->send_packet ("newmap");
154
155 pl->ns->floorbox_reset (); 152 pl->ns->floorbox_reset ();
156} 153}
157 154
158static void 155static void
159send_map_info (player *pl) 156send_map_info (player *pl)
950 * look like. 947 * look like.
951 */ 948 */
952 949
953 client &socket = *pl->ns; 950 client &socket = *pl->ns;
954 951
955 packet sl (socket.mapmode == Map1Cmd ? "map1" : "map1a"); 952 packet sl ("map1a");
956 953
957 startlen = sl.length (); 954 startlen = sl.length ();
958 955
959 int hx = socket.mapx / 2; 956 int hx = socket.mapx / 2;
960 int hy = socket.mapy / 2; 957 int hy = socket.mapy / 2;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines