Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkubax10 committed Aug 11, 2023
1 parent 3204a48 commit 951ef46
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/addon/addon_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ AddonManager::check_online()
TransferStatusListPtr
AddonManager::request_install_addon(const AddonId& addon_id)
{
// Remove addon if it already exists.
// Remove add-on if it already exists.
auto it = m_installed_addons.find(addon_id);
if (it != m_installed_addons.end())
{
Expand Down
14 changes: 2 additions & 12 deletions src/trigger/door.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,8 @@ Door::update(float )
case CLOSED:
break;
case OPENING:
<<<<<<< HEAD
// if door has finished opening, start timer and keep door open
if (m_sprite->animation_done()) {
=======
// If door has finished opening, start timer and keep door open.
if (sprite->animation_done()) {
>>>>>>> 52b3efd73 (Fix comment style and consistency [Part 2])
if (m_sprite->animation_done()) {
state = OPEN;
set_action("open");
stay_open_timer.start(1.0);
Expand All @@ -115,13 +110,8 @@ Door::update(float )
}
break;
case CLOSING:
<<<<<<< HEAD
// if door has finished closing, keep it shut
if (m_sprite->animation_done()) {
=======
// If door has finished closing, keep it shut.
if (sprite->animation_done()) {
>>>>>>> 52b3efd73 (Fix comment style and consistency [Part 2])
if (m_sprite->animation_done()) {
state = CLOSED;
set_action("closed");
}
Expand Down
2 changes: 1 addition & 1 deletion src/video/gl/gl_video_system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ GLVideoSystem::create_gl_context()
assert_gl();

if (g_config->try_vsync) {
// We want v-sync for smooth scrolling.
// We want VSync for smooth scrolling.
if (SDL_GL_SetSwapInterval(-1) != 0)
{
log_info << "no support for late swap tearing vsync: " << SDL_GetError() << std::endl;
Expand Down

0 comments on commit 951ef46

Please sign in to comment.