comparison Party.cpp @ 766:a464d28566a6

days_played_without_rest
author Nomad
date Sat, 23 Mar 2013 20:22:51 +0200
parents c10163a6d946
children b27dd658ea77
comparison
equal deleted inserted replaced
763:a84db04439a4 766:a464d28566a6
1021 } 1021 }
1022 while ( v3 ); 1022 while ( v3 );
1023 v2->Zero(); 1023 v2->Zero();
1024 if ( v2->pConditions[14] || v2->pConditions[15] || v2->pConditions[16] ) 1024 if ( v2->pConditions[14] || v2->pConditions[15] || v2->pConditions[16] )
1025 goto LABEL_33; 1025 goto LABEL_33;
1026 LODWORD(v2->pConditions[13]) = 0; 1026 v2->pConditions[13] = 0;
1027 HIDWORD(v2->pConditions[13]) = 0; 1027 v2->pConditions[4] = 0;
1028 LODWORD(v2->pConditions[4]) = 0; 1028 v2->pConditions[2] = 0;
1029 HIDWORD(v2->pConditions[4]) = 0; 1029 v2->pConditions[3] = 0;
1030 LODWORD(v2->pConditions[2]) = 0; 1030 v2->pConditions[1] = 0;
1031 HIDWORD(v2->pConditions[2]) = 0;
1032 LODWORD(v2->pConditions[3]) = 0;
1033 HIDWORD(v2->pConditions[3]) = 0;
1034 LODWORD(v2->pConditions[1]) = 0;
1035 HIDWORD(v2->pConditions[1]) = 0;
1036 v2->uTimeToRecovery = 0; 1031 v2->uTimeToRecovery = 0;
1037 v2->sHealth = v2->GetMaxHealth(); 1032 v2->sHealth = v2->GetMaxHealth();
1038 v5 = v2->GetMaxMana(); 1033 v5 = v2->GetMaxMana();
1039 v6 = v2->classType == PLAYER_CLASS_LICH; 1034 v6 = v2->classType == PLAYER_CLASS_LICH;
1040 v2->sMana = v5; 1035 v2->sMana = v5;
1092 UpdatePlayersAndHirelingsEmotions(); 1087 UpdatePlayersAndHirelingsEmotions();
1093 LABEL_33: 1088 LABEL_33:
1094 ++v15; 1089 ++v15;
1095 } 1090 }
1096 while ( v15 < 4 ); 1091 while ( v15 < 4 );
1097 pParty->field_764 = 0; 1092 pParty->days_played_without_rest = 0;
1098 } 1093 }