diff --git a/src/console/c_cmds.cpp b/src/console/c_cmds.cpp index 15e932d20..33f107d1a 100644 --- a/src/console/c_cmds.cpp +++ b/src/console/c_cmds.cpp @@ -1023,10 +1023,10 @@ CCMD(secret) maphdr.Format("[%s]", mapname); FString linebuild; - char readbuffer[1024]; + char readbuffer[10240]; bool inlevel = false; - while (lump.Gets(readbuffer, 1024)) + while (lump.Gets(readbuffer, 10240)) { if (!inlevel) {