mirror of
https://github.com/JezuzLizard/T4SP-Server-Plugin.git
synced 2025-04-19 21:22:54 +00:00
no more printf
This commit is contained in:
parent
3e9fcc5fda
commit
646b5a3264
@ -87,7 +87,7 @@ namespace fileio
|
|||||||
void free_scr_fh(scr_fh_t& scr_fh)
|
void free_scr_fh(scr_fh_t& scr_fh)
|
||||||
{
|
{
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf("free_scr_fh: closing %s\n", scr_fh.base_path.c_str());
|
plugin::get()->get_interface()->logging()->info(utils::string::va("free_scr_fh: closing %s\n", scr_fh.base_path.c_str()));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
scr_fh = {};
|
scr_fh = {};
|
||||||
@ -251,7 +251,7 @@ namespace fileio
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
printf("gscr_fs_fopen: opening %s, mode %s\n", fpath.c_str(), mode);
|
plugin::get()->get_interface()->logging()->info(utils::string::va("gscr_fs_fopen: opening %s, mode %s\n", fpath.c_str(), mode));
|
||||||
#endif
|
#endif
|
||||||
game::Scr_AddInt(game::SCRIPTINSTANCE_SERVER, i + 1);
|
game::Scr_AddInt(game::SCRIPTINSTANCE_SERVER, i + 1);
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user