Mercurial > mm7
comparison Party.cpp @ 1359:60cdc3eac407
_449B57_test_bit(pParty->_quest_bits, 99) and _449B57_test_bit(pParty->_quest_bits, 100) changed to Party::IsPartyGood, Party::IsPartyEvil, respectively
author | Grumpy7 |
---|---|
date | Sat, 13 Jul 2013 17:13:45 +0200 |
parents | 22cb507446a4 |
children | b3ac17fd12de |
comparison
equal
deleted
inserted
replaced
1358:61010a655c94 | 1359:60cdc3eac407 |
---|---|
1151 pPlayer->sMana = 0; | 1151 pPlayer->sMana = 0; |
1152 UpdatePlayersAndHirelingsEmotions(); | 1152 UpdatePlayersAndHirelingsEmotions(); |
1153 } | 1153 } |
1154 pParty->days_played_without_rest = 0; | 1154 pParty->days_played_without_rest = 0; |
1155 } | 1155 } |
1156 | |
1156 //----- (004938D1) -------------------------------------------------------- | 1157 //----- (004938D1) -------------------------------------------------------- |
1157 void __fastcall Rest(unsigned int uHoursToSleep) | 1158 void __fastcall Rest(unsigned int uHoursToSleep) |
1158 { | 1159 { |
1159 unsigned int v1; // esi@1 | 1160 unsigned int v1; // esi@1 |
1160 double v2; // st7@3 | 1161 double v2; // st7@3 |
1512 v1->Release(); | 1513 v1->Release(); |
1513 pIcons_LOD->SyncLoadedFilesCount(); | 1514 pIcons_LOD->SyncLoadedFilesCount(); |
1514 } | 1515 } |
1515 return 1; | 1516 return 1; |
1516 } | 1517 } |
1518 | |
1519 | |
1520 bool Party::IsPartyEvil() | |
1521 { | |
1522 return _449B57_test_bit(_quest_bits, 100); | |
1523 } | |
1524 | |
1525 bool Party::IsPartyGood() | |
1526 { | |
1527 return _449B57_test_bit(_quest_bits, 99); | |
1528 } |