Skip to content

Commit

Permalink
fix chat
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya246 committed Jun 27, 2022
1 parent ce5442b commit dd3b143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ int main(int argc, char** argv) {
chat.setString(chatString);
chat.setCharacterSize(textCharacterSize);
chat.setFillColor(sf::Color::White);
chat.move(2, g_camera.h - (textCharacterSize + 4) * 6);
chat.move(2, g_camera.h - (textCharacterSize + 4) * (displayMessageCount + 1));
window->draw(chat);
g_camera.bindWorld();
window->display();
Expand Down

0 comments on commit dd3b143

Please sign in to comment.