aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/config/config.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2025-10-28 22:34:52 +0100
committerGitHub Enterprise <[email protected]>2025-10-28 22:34:52 +0100
commit9c2cdc2345880f18b67af6b7b5c11d0ce9041ced (patch)
treedc868fb7368df37e7c3645f4cadea8bf73303505 /src/zenserver/config/config.cpp
parent5.7.7 (diff)
downloadzen-9c2cdc2345880f18b67af6b7b5c11d0ce9041ced.tar.xz
zen-9c2cdc2345880f18b67af6b7b5c11d0ce9041ced.zip
fix --zentrace=no compile errors (#616)
* make sure the correct `UE_WITH_TRACE` conditional is used to enable/disable support code as appropriate * fixed some accidental `int32`, `int64` et al usage, due to typedefs leaking through from trace header with this fix, it is now possible to build with `--zentrace=no` again
Diffstat (limited to 'src/zenserver/config/config.cpp')
-rw-r--r--src/zenserver/config/config.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zenserver/config/config.cpp b/src/zenserver/config/config.cpp
index 70590b4e6..e7cfd490a 100644
--- a/src/zenserver/config/config.cpp
+++ b/src/zenserver/config/config.cpp
@@ -455,11 +455,13 @@ ZenServerConfiguratorBase::Configure(int argc, char* argv[])
exit(0);
}
+#if ZEN_WITH_TRACE
if (!m_ServerOptions.HasTraceCommandlineOptions)
{
// Apply any Lua settings if we don't have them set from the command line
TraceConfigure(m_ServerOptions.TraceOptions);
}
+#endif
if (m_ServerOptions.QuietConsole)
{