it's in ScreenMain.cpp search for ( case CMD_INVENTORY: )and copy this line under it and delete everything between it and ( break; ): g_pInterfaceMgr->SwitchToScreen(SCREEN_ID_INVENTORY);
the result must be like this :
case CMD_INVENTORY:
g_pInterfaceMgr->SwitchToScreen(SCREEN_ID_INVENTORY);
break;
next time we will not give any help , you need to find solution by yourself : )