Mercurial > mm7
comparison Party.cpp @ 2063:7890930801a8
small fix
author | Ritor1 |
---|---|
date | Mon, 02 Dec 2013 20:42:46 +0600 |
parents | c2a004e7458b |
children | d28d3c006077 |
comparison
equal
deleted
inserted
replaced
2062:c2a004e7458b | 2063:7890930801a8 |
---|---|
810 | 810 |
811 if ( uHoursToSleep > 240 ) | 811 if ( uHoursToSleep > 240 ) |
812 InitializeActors(); | 812 InitializeActors(); |
813 v2 = (signed __int64)((7680 * uHoursToSleep) * 0.033333335); | 813 v2 = (signed __int64)((7680 * uHoursToSleep) * 0.033333335); |
814 pParty->uTimePlayed += v2; | 814 pParty->uTimePlayed += v2; |
815 for (int i = 0; i < 4; i++) | 815 for (int i = 1; i <= 4; i++) |
816 { | 816 { |
817 pPlayers[i + 1]->Recover((int)v2); | 817 pPlayers[i]->Recover((int)v2); |
818 } | 818 } |
819 _494035_timed_effects__water_walking_damage__etc(); | 819 _494035_timed_effects__water_walking_damage__etc(); |
820 } | 820 } |
821 //----- (004B1BDB) -------------------------------------------------------- | 821 //----- (004B1BDB) -------------------------------------------------------- |
822 void RestAndHeal(__int64 uNumMinutes) | 822 void RestAndHeal(__int64 uNumMinutes) |