Mercurial > mm7
comparison Player.cpp @ 1405:c0b273d33338
RemoveTexturesPackFromTextureList and RemoveTexturesFromTextureList
author | Ritor1 |
---|---|
date | Mon, 22 Jul 2013 15:23:43 +0600 |
parents | 7cc3b01a92ac |
children | d071e0e9ba75 |
comparison
equal
deleted
inserted
replaced
1404:7cc3b01a92ac | 1405:c0b273d33338 |
---|---|
6196 scroll_id = pParty->pPickedItem.uItemID - 299; | 6196 scroll_id = pParty->pPickedItem.uItemID - 299; |
6197 if ( scroll_id == 30 || scroll_id == 4 || scroll_id == 91 || scroll_id == 28 ) //Enchant Item scroll, Vampiric Weapon scroll ,Recharge Item ,Fire Aura | 6197 if ( scroll_id == 30 || scroll_id == 4 || scroll_id == 91 || scroll_id == 28 ) //Enchant Item scroll, Vampiric Weapon scroll ,Recharge Item ,Fire Aura |
6198 { | 6198 { |
6199 pMouse->RemoveHoldingItem(); | 6199 pMouse->RemoveHoldingItem(); |
6200 pGUIWindow_CurrentMenu->Release(); | 6200 pGUIWindow_CurrentMenu->Release(); |
6201 pIcons_LOD->ClearTextureList(); | 6201 pIcons_LOD->RemoveTexturesPackFromTextureList(); |
6202 pCurrentScreen = SCREEN_GAME; | 6202 pCurrentScreen = SCREEN_GAME; |
6203 viewparams->bRedrawGameUI = 1; | 6203 viewparams->bRedrawGameUI = 1; |
6204 _42777D_CastSpell_UseWand_ShootArrow(scroll_id, player_num - 1, 0x85u, 1, 0); | 6204 _42777D_CastSpell_UseWand_ShootArrow(scroll_id, player_num - 1, 0x85u, 1, 0); |
6205 } | 6205 } |
6206 else | 6206 else |