Skip to content

Commit 558121e

Browse files
committed
Fix compilation with "LogTimePrefix := ltDateTime;"
1 parent 212d8b1 commit 558121e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ Checkout with submodules.
6363
git clone --recurse-submodules https://github.com/castle-engine/not-quake
6464
```
6565

66+
NOTE: If you forgot to clone with submodules (maybe you just did a regular `git clone` without `--recurse-submodules` out of habit), then you can later run `git submodule update --init --recursive` to get the submodules.
67+
6668
Build and run server:
6769

6870
```

server/not_quake_server.dpr

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,9 @@ const
242242
var
243243
Server:TServer;
244244
begin
245+
LogTimePrefix := ltDateTime;
245246
// write to stdout, regardless of platform, even on Windows
246-
InitializeLog(StdOutStream, ltDateTime);
247+
InitializeLog(StdOutStream);
247248

248249
RNLInstance:=TRNLInstance.Create;
249250
try

0 commit comments

Comments
 (0)