comparison mm7_4.cpp @ 783:b27dd658ea77

Taveling by foot fixed.
author Nomad
date Sun, 24 Mar 2013 21:14:28 +0200
parents 7994986603d5
children b3e08a496778
comparison
equal deleted inserted replaced
778:64cef5a0782a 783:b27dd658ea77
70 70
71 71
72 72
73 73
74 //----- (0046CC4B) -------------------------------------------------------- 74 //----- (0046CC4B) --------------------------------------------------------
75 void __cdecl _46CC4B_check_event_triggers() 75 void __cdecl check_event_triggers()
76 { 76 {
77 int v0; // eax@1 77 int v0; // eax@1
78 LevelDecoration *v1; // esi@2 78 LevelDecoration *v1; // esi@2
79 signed int v2; // edi@2 79 signed int v2; // edi@2
80 int v3; // ebx@2 80 int v3; // ebx@2
2561 v14 = pPlayers[v12]; 2561 v14 = pPlayers[v12];
2562 v15 = (double)pPlayers[v12]->GetMaxHealth() * 0.1; 2562 v15 = (double)pPlayers[v12]->GetMaxHealth() * 0.1;
2563 v14->ReceiveDamage((signed __int64)v15, 0); 2563 v14->ReceiveDamage((signed __int64)v15, 0);
2564 if ( pParty->uFlags & 4 ) 2564 if ( pParty->uFlags & 4 )
2565 { 2565 {
2566 strcpy(GameUI_StatusBar_TimedString, pGlobalTXT_LocalizationStrings[660]); 2566 strcpy(GameUI_Footer_TimedString, pGlobalTXT_LocalizationStrings[660]);
2567 GameUI_StatusBar_TimedStringTimeLeft = 128; 2567 GameUI_Footer_TimeLeft = 128;
2568 } 2568 }
2569 goto LABEL_39; 2569 goto LABEL_39;
2570 } 2570 }
2571 v13 = pPlayers[v12]; 2571 v13 = pPlayers[v12];
2572 } 2572 }
2590 v17 = *v16; 2590 v17 = *v16;
2591 v18 = (double)(*v16)->GetMaxHealth() * 0.1; 2591 v18 = (double)(*v16)->GetMaxHealth() * 0.1;
2592 v17->ReceiveDamage((signed __int64)v18, 0); 2592 v17->ReceiveDamage((signed __int64)v18, 0);
2593 if ( pParty->uFlags & 0x200 ) 2593 if ( pParty->uFlags & 0x200 )
2594 { 2594 {
2595 strcpy(GameUI_StatusBar_TimedString, pGlobalTXT_LocalizationStrings[661]); 2595 strcpy(GameUI_Footer_TimedString, pGlobalTXT_LocalizationStrings[661]);
2596 GameUI_StatusBar_TimedStringTimeLeft = 128; 2596 GameUI_Footer_TimeLeft = 128;
2597 } 2597 }
2598 ++v16; 2598 ++v16;
2599 } 2599 }
2600 while ( (signed int)v16 <= (signed int)&pPlayers[4] ); 2600 while ( (signed int)v16 <= (signed int)&pPlayers[4] );
2601 } 2601 }