Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Dregu committed Oct 20, 2021
1 parent b7f63f0 commit 0bb3321
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/game_api/prng.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -110,15 +110,15 @@ std::pair<int64_t, int64_t> PRNG::get_pair(size_t index)
{
if (index >= 1 && index <= 10)
{
return pairs[index-1];
return pairs[index - 1];
}
return {0, 0};
}
void PRNG::set_pair(size_t index, int64_t first, int64_t second)
{
if (index >= 1 && index <= 10)
{
pairs[index-1].first = first;
pairs[index-1].second = second;
pairs[index - 1].first = first;
pairs[index - 1].second = second;
}
}

0 comments on commit 0bb3321

Please sign in to comment.