… | |
… | |
194 | { |
194 | { |
195 | INVOKE_PLAYER (REGION_CHANGE, pl, ARG_REGION (reg), ARG_REGION (socket.current_region)); |
195 | INVOKE_PLAYER (REGION_CHANGE, pl, ARG_REGION (reg), ARG_REGION (socket.current_region)); |
196 | socket.current_region = reg; |
196 | socket.current_region = reg; |
197 | } |
197 | } |
198 | |
198 | |
199 | // first try to aovid a full newmap on tiled map scrolls |
199 | // first try to avoid a full newmap on tiled map scrolls |
200 | if (socket.current_map != ob->map && !socket.force_newmap) |
200 | if (socket.current_map != ob->map && !socket.force_newmap) |
201 | { |
201 | { |
202 | rv_vector rv; |
202 | rv_vector rv; |
203 | |
203 | |
204 | get_rangevector_from_mapcoord (socket.current_map, socket.current_x, socket.current_y, ob, &rv, 0); |
204 | get_rangevector_from_mapcoord (socket.current_map, socket.current_x, socket.current_y, ob, &rv, 0); |
… | |
… | |
276 | |
276 | |
277 | /** |
277 | /** |
278 | * RequestInfo is sort of a meta command. There is some specific |
278 | * RequestInfo is sort of a meta command. There is some specific |
279 | * request of information, but we call other functions to provide |
279 | * request of information, but we call other functions to provide |
280 | * that information. |
280 | * that information. |
|
|
281 | * requestinfo is completely deprecated, use resource exti request |
|
|
282 | * and the fxix or http protocols. |
281 | */ |
283 | */ |
282 | void |
284 | void |
283 | RequestInfo (char *buf, int len, client *ns) |
285 | RequestInfo (char *buf, int len, client *ns) |
284 | { |
286 | { |
285 | char *params; |
287 | char *params; |