… | |
… | |
148 | { |
148 | { |
149 | client &socket = *pl->ns; |
149 | client &socket = *pl->ns; |
150 | object *ob = pl->ob; |
150 | object *ob = pl->ob; |
151 | char buf[MAX_BUF]; /* eauugggh */ |
151 | char buf[MAX_BUF]; /* eauugggh */ |
152 | |
152 | |
153 | if (socket.force_newmap && 0) |
153 | if (socket.force_newmap) |
154 | { |
154 | { |
155 | // force newmap is used for clients that do not redraw their map |
155 | // force newmap is used for clients that do not redraw their map |
156 | // after image uploads. |
156 | // after image uploads. |
157 | socket.current_map = ob->map; |
157 | socket.current_map = ob->map; |
158 | clear_map (pl); |
158 | clear_map (pl); |