… | |
… | |
187 | } |
187 | } |
188 | |
188 | |
189 | void |
189 | void |
190 | draw_ext_info (int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *message, const char *oldmessage) |
190 | draw_ext_info (int flags, int pri, const object *pl, uint8 type, uint8 subtype, const char *message, const char *oldmessage) |
191 | { |
191 | { |
192 | |
|
|
193 | if (!pl || (pl->type != PLAYER) || (pl->contr == NULL)) |
192 | if (!pl || (pl->type != PLAYER) || (pl->contr == NULL)) |
194 | return; |
193 | return; |
195 | |
194 | |
196 | if (!CLIENT_SUPPORT_READABLES (pl->contr->ns, type)) |
195 | if (!CLIENT_SUPPORT_READABLES (pl->contr->ns, type)) |
197 | { |
196 | { |
… | |
… | |
237 | } |
236 | } |
238 | |
237 | |
239 | /** |
238 | /** |
240 | * Writes to everyone on the map *except* op. This is useful for emotions. |
239 | * Writes to everyone on the map *except* op. This is useful for emotions. |
241 | */ |
240 | */ |
242 | |
|
|
243 | void |
241 | void |
244 | new_info_map_except (int color, maptile * map, object *op, const char *str) |
242 | new_info_map_except (int color, maptile * map, object *op, const char *str) |
245 | { |
243 | { |
246 | for_all_players (pl) |
244 | for_all_players (pl) |
247 | if (pl->ob->map == map && pl->ob != op) |
245 | if (pl->ob->map == map && pl->ob != op) |