Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
[linux] disable Beep on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
q4a committed Jun 6, 2022
1 parent 24f75c8 commit ca10d62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/libs/ship/src/ship_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ BOOL SHIP::BuildContour(CVECTOR *vContour, int32_t &iNumVContour)
{
core.Trace("SHIP: Up trace error, ship %s", static_cast<const char*>(GetAShip()->GetAttribute("Name")));
bDefaultContour = true;
#ifdef _WIN32 // Beep
Beep(1000, 200);
#endif
}
// Assert(fRes<=1.0f);

Expand All @@ -57,7 +59,9 @@ BOOL SHIP::BuildContour(CVECTOR *vContour, int32_t &iNumVContour)
{
core.Trace("SHIP: Down trace error, ship %s", static_cast<const char*>(GetAShip()->GetAttribute("Name")));
bDefaultContour = true;
#ifdef _WIN32 // Beep
Beep(1000, 200);
#endif
}
// Assert(fRes<=1.0f);

Expand Down

0 comments on commit ca10d62

Please sign in to comment.