Skip to content

Commit

Permalink
estored name for Serious Editor log file
Browse files Browse the repository at this point in the history
  • Loading branch information
tx00100xt committed Oct 13, 2023
1 parent 71b030e commit 3eae35a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,4 @@ All notable changes to this project will be documented in this file.
- SeriousModeler: Fixed conversion of pointers to 32 bits (Win).
- SeriousSkaStudio: Fixed conversion of pointers to 32 bits (Win).
- Fixed HUD, player FOV, weapon FOV for Serious Editor.
- Restored name for Serious Editor log file.
4 changes: 4 additions & 0 deletions SamTFE/Sources/Engine/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,11 @@ ENGINE_API void SE_InitEngine(CTString strGameID)
_strLogFile = CTFileName(CTString(strExePath)).FileName();
// chop off end of Unix executable filename... --ryan.
_strLogFile.ReplaceSubstr(CTString("-bin"), CTString(""));*/
#ifdef PLATFORM_UNIX
_strLogFile = "SeriousSam";
#else
_strLogFile = CTFileName(CTString(strExePath)).FileName();
#endif
}
#ifdef PLATFORM_UNIX
if (_bPortableVersion == FALSE) {
Expand Down
4 changes: 4 additions & 0 deletions SamTSE/Sources/Engine/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,11 @@ ENGINE_API void SE_InitEngine(CTString strGameID)
_strLogFile = CTFileName(CTString(strExePath)).FileName();
// chop off end of Unix executable filename... --ryan.
_strLogFile.ReplaceSubstr(CTString("-bin"), CTString(""));*/
#ifdef PLATFORM_UNIX
_strLogFile = "SeriousSam";
#else
_strLogFile = CTFileName(CTString(strExePath)).FileName();
#endif
}
#ifdef PLATFORM_UNIX
if (_bPortableVersion == FALSE) {
Expand Down

0 comments on commit 3eae35a

Please sign in to comment.