void cWindow::OnPaintBegin(cPlayer & a_Player) { // Prepares the internal structures for inventory painting from the specified player a_Player.ClearInventoryPaintSlots(); }