Skip to content

Commit

Permalink
Fix version number being set to 4, add message to log when done creat…
Browse files Browse the repository at this point in the history
…ing database dump.
  • Loading branch information
Umgak committed Nov 23, 2021
1 parent b1a4711 commit 6249abf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#define MAKE_STR_HELPER(a_str) #a_str
#define MAKE_STR(a_str) MAKE_STR_HELPER(a_str)

#define ALD_VERSION_MAJOR 4
#define ALD_VERSION_MAJOR 1
#define ALD_VERSION_MINOR 0
#define ALD_VERSION_PATCH 0
#define ALD_VERSION_PATCH 1
#define ALD_VERSION_BETA 0
#define ALD_VERSION_VERSTRING MAKE_STR(ALD_VERSION_MAJOR) "." MAKE_STR(ALD_VERSION_MINOR) "." MAKE_STR(ALD_VERSION_PATCH) "." MAKE_STR(ALD_VERSION_BETA)

Expand Down
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ bool DumpCurrentVersion(const SKSEInterface* skse)
char fileName[256];
_snprintf_s(fileName, 256, "offsets-%d.%d.%d.txt", GET_EXE_VERSION_MAJOR(skse->runtimeVersion), GET_EXE_VERSION_MINOR(skse->runtimeVersion), GET_EXE_VERSION_BUILD(skse->runtimeVersion));
db.Dump(fileName);
_MESSAGE("Dumped to %s.", fileName);
db.Clear();

}
Expand Down

0 comments on commit 6249abf

Please sign in to comment.