remove unneeded junk

This commit is contained in:
anotheruselesaccount
2024-04-22 12:18:48 +03:00
committed by GitHub
parent 7ff32bae7e
commit d9ce435a0b

View File

@ -197,9 +197,6 @@ namespace fileio
auto fd = 0; auto fd = 0;
auto file_length = game::FS_FOpenFileRead(fpath.c_str(), &fd); auto file_length = game::FS_FOpenFileRead(fpath.c_str(), &fd);
printf("FD %d", fd);
printf("FILE LENGHT %d", file_length);
if (!fd || file_length < 0) if (!fd || file_length < 0)
{ {
game::Com_PrintWarning(game::CON_CHANNEL_SCRIPT, "Failed to open file for reading: %s\n", fpath.c_str()); game::Com_PrintWarning(game::CON_CHANNEL_SCRIPT, "Failed to open file for reading: %s\n", fpath.c_str());