Mercurial > mm7
diff mm7_5.cpp @ 907:f3ccfc765502
RentRoom
author | Ritor1 |
---|---|
date | Sun, 21 Apr 2013 19:22:42 +0600 |
parents | 393a83dcc359 |
children | 8cd0b155bebe |
line wrap: on
line diff
--- a/mm7_5.cpp Fri Apr 19 18:11:28 2013 +0600 +++ b/mm7_5.cpp Sun Apr 21 19:22:42 2013 +0600 @@ -2539,7 +2539,7 @@ dword_506F14 = v0; _506F18_num_hours_to_sleep = 60; continue; - case UIMSG_OpenRestUI: + case UIMSG_RentRoom: dword_506F14 = 2; RestUI_Initialize(); v86 = 60 * (_494820_training_time(pParty->uCurrentHour) + 1) - pParty->uCurrentMinute; @@ -2555,7 +2555,7 @@ pParty->pPlayers[1].pConditions[Player::Condition_Sleep] = pParty->uTimePlayed; pParty->pPlayers[0].pConditions[Player::Condition_Sleep] = pParty->uTimePlayed; continue; - case UIMSG_68: + case UIMSG_RestWindow: if ( pMessageQueue_50CBD0->uNumMessages ) pMessageQueue_50CBD0->uNumMessages = pMessageQueue_50CBD0->pMessages[0].field_8 != 0; if ( pCurrentScreen ) @@ -2620,7 +2620,7 @@ v176 = 0; v160 = 13; goto LABEL_619; - case UIMSG_61: + case UIMSG_Rest8Hour: if ( dword_506F14 ) //goto LABEL_621; { @@ -2913,7 +2913,7 @@ _42777D_CastSpell_UseWand_ShootArrow(v79, v80, v147, v159, v175); } continue; - case UIMSG_69: + case UIMSG_SpellBookWindow: if ( pTurnEngine->field_4 == 3 ) continue; if ( bUnderwater == 1 )