- disable dir CCMD.

The implementation of this one is garbage, it needs to be redone without I_ChDir.
This commit is contained in:
Christoph Oelckers 2023-08-19 13:55:02 +02:00
parent 219b3fb9f9
commit 566a8f58a7

View file

@ -176,6 +176,8 @@ UNSAFE_CCMD (crashout)
#endif #endif
// commented out because it's very poorly implemented (it should not abuse I_ChDir like this!)
#if 0
UNSAFE_CCMD (dir) UNSAFE_CCMD (dir)
{ {
FString dir, path; FString dir, path;
@ -248,6 +250,7 @@ UNSAFE_CCMD (dir)
I_ChDir(curdir); I_ChDir(curdir);
} }
#endif
//========================================================================== //==========================================================================
// //