| 3588 | } |
| 3589 | |
| 3590 | void CClient::AutoScreenshot_Cleanup() |
| 3591 | { |
| 3592 | if(m_AutoScreenshotRecycle) |
| 3593 | { |
| 3594 | if(g_Config.m_ClAutoScreenshotMax) |
| 3595 | { |
| 3596 | // clean up auto taken screens |
| 3597 | CFileCollection AutoScreens; |
| 3598 | AutoScreens.Init(Storage(), "screenshots/auto", "autoscreen", ".png", g_Config.m_ClAutoScreenshotMax); |
| 3599 | } |
| 3600 | m_AutoScreenshotRecycle = false; |
| 3601 | } |
| 3602 | } |
| 3603 | |
| 3604 | void CClient::AutoStatScreenshot_Cleanup() |
| 3605 | { |