Mercurial > mm7
diff mm7_4.cpp @ 370:7f817679b60e
_42777D_CastSpell_UseWand_ShootArrow
author | Nomad |
---|---|
date | Fri, 22 Feb 2013 17:47:41 +0200 |
parents | b803545c1b96 |
children | edd2d8b7e3c4 |
line wrap: on
line diff
--- a/mm7_4.cpp Fri Feb 22 01:36:54 2013 +0200 +++ b/mm7_4.cpp Fri Feb 22 17:47:41 2013 +0200 @@ -5915,15 +5915,7 @@ && uMouseY >= (signed int)pControlsHead->uY && uMouseY <= (signed int)pControlsHead->uW )//mouse movement { pControlParam = pControlsHead->uControlParam; - if ( (signed int)pNumMessage < 40 ) - { - pMessageQueue_50CBD0->pMessages[pNumMessage].eType = (UIMessageType)pControlsHead->field_1C; - //pTexture = &pTexture_PCX; - pMessageQueue_50CBD0->pMessages[pMessageQueue_50CBD0->uNumMessages].param = pControlParam; - *(&pMessageQueue_50CBD0->uNumMessages + 3 * pMessageQueue_50CBD0->uNumMessages + 3) = 0; - pNumMessage = pMessageQueue_50CBD0->uNumMessages + 1; - ++pMessageQueue_50CBD0->uNumMessages; - } + pMessageQueue_50CBD0->SendMessage((UIMessageType)pControlsHead->field_1C, pControlParam, 0); v1 = 0; } pControlsHead = pControlsHead->pNext;