Feature #1737 » 1737Main.patch
| server/srv_main.c | ||
|---|---|---|
|
update_tile_knowledge(ptile);
|
||
|
if (tile_owner(ptile) != nullptr) {
|
||
|
/* TODO: Should notify players nearby even when borders disabled,
|
||
|
* like in case of barbarian uprising */
|
||
|
notify_player(tile_owner(ptile), ptile,
|
||
|
E_SPONTANEOUS_EXTRA, ftc_server,
|
||
|
/* TRANS: Small Fish disappears from (32, 72). */
|
||
|
_("%s disappears from %s."),
|
||
|
extra_name_translation(pextra),
|
||
|
tile_link(ptile));
|
||
|
}
|
||
|
players_iterate(aplayer) {
|
||
|
if (tile_is_seen(ptile, aplayer)) {
|
||
|
notify_player(aplayer, ptile,
|
||
|
E_SPONTANEOUS_EXTRA, ftc_server,
|
||
|
/* TRANS: Small Fish disappears from (32, 72). */
|
||
|
_("%s disappears from %s."),
|
||
|
extra_name_translation(pextra),
|
||
|
tile_link(ptile));
|
||
|
}
|
||
|
} players_iterate_end;
|
||
|
/* Activities at the target tile and its neighbors may now
|
||
|
* be illegal because of present reqs. */
|
||
| ... | ... | |
|
update_tile_knowledge(ptile);
|
||
|
if (tile_owner(ptile) != nullptr) {
|
||
|
/* TODO: Should notify players nearby even when borders disabled,
|
||
|
* like in case of barbarian uprising */
|
||
|
notify_player(tile_owner(ptile), ptile,
|
||
|
E_SPONTANEOUS_EXTRA, ftc_server,
|
||
|
/* TRANS: Small Fish appears to (32, 72). */
|
||
|
_("%s appears to %s."),
|
||
|
extra_name_translation(pextra),
|
||
|
tile_link(ptile));
|
||
|
}
|
||
|
players_iterate(aplayer) {
|
||
|
if (tile_is_seen(ptile, aplayer)) {
|
||
|
notify_player(aplayer, ptile,
|
||
|
E_SPONTANEOUS_EXTRA, ftc_server,
|
||
|
/* TRANS: Small Fish appears to (32, 72). */
|
||
|
_("%s appears to %s."),
|
||
|
extra_name_translation(pextra),
|
||
|
tile_link(ptile));
|
||
|
}
|
||
|
} players_iterate_end;
|
||
|
/* Activities at the target tile and its neighbors may now
|
||
|
* be illegal because of !present reqs. */
|
||