From 566a8f58a729a607f0c4f4dcdd6afe638c8be2aa Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 19 Aug 2023 13:55:02 +0200 Subject: [PATCH] - disable dir CCMD. The implementation of this one is garbage, it needs to be redone without I_ChDir. --- src/common/console/c_enginecmds.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/common/console/c_enginecmds.cpp b/src/common/console/c_enginecmds.cpp index 13593cb32..28133669c 100644 --- a/src/common/console/c_enginecmds.cpp +++ b/src/common/console/c_enginecmds.cpp @@ -176,6 +176,8 @@ UNSAFE_CCMD (crashout) #endif +// commented out because it's very poorly implemented (it should not abuse I_ChDir like this!) +#if 0 UNSAFE_CCMD (dir) { FString dir, path; @@ -248,6 +250,7 @@ UNSAFE_CCMD (dir) I_ChDir(curdir); } +#endif //========================================================================== //