Skip to content

Commit

Permalink
tg_cli: fix storyAreaPosition.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Oct 16, 2024
1 parent 1d5acce commit dc54b21
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions td/telegram/cli.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1381,9 +1381,9 @@ class CliClient final : public Actor {
if (area.empty()) {
continue;
}
auto position = td_api::make_object<td_api::storyAreaPosition>(
Random::fast(1, 99) * 0.01, Random::fast(1, 99) * 0.01, Random::fast(1, 99) * 0.01,
Random::fast(1, 99) * 0.01, Random::fast(0, 360), Random::fast(1, 19) * 0.01);
auto position = td_api::make_object<td_api::storyAreaPosition>(Random::fast(1, 99), Random::fast(1, 99),
Random::fast(1, 99), Random::fast(1, 99),
Random::fast(0, 360), Random::fast(1, 19));
td_api::object_ptr<td_api::InputStoryAreaType> type;
if (area == "l") {
type = td_api::make_object<td_api::inputStoryAreaTypeLocation>(
Expand Down

0 comments on commit dc54b21

Please sign in to comment.