diff Party.cpp @ 2340:dc822157c98d

Moving functions from unsorted_subs.h pt4
author Grumpy7
date Sun, 06 Apr 2014 12:50:35 +0200
parents 1e865e8690ba
children a574a80e7012
line wrap: on
line diff
--- a/Party.cpp	Sun Apr 06 12:37:28 2014 +0200
+++ b/Party.cpp	Sun Apr 06 12:50:35 2014 +0200
@@ -849,7 +849,7 @@
   pParty->UpdatePlayersAndHirelingsEmotions();
 }
 //----- (0041F5BE) --------------------------------------------------------
-void  Sleep6Hours()
+void  Party::Sleep6Hours()
 {
   if ( _506F18_num_minutes_to_sleep < 6 )
   {
@@ -857,7 +857,7 @@
     {
       Rest(_506F18_num_minutes_to_sleep);
       _506F18_num_minutes_to_sleep = 0;
-      LoadActualSkyFrame();
+      OutdoorLocation::LoadActualSkyFrame();
     }
     if ( dword_506F14 == 2 )
     {
@@ -868,7 +868,7 @@
   {
     Rest(6u);
     _506F18_num_minutes_to_sleep -= 6;
-    LoadActualSkyFrame();
+    OutdoorLocation::LoadActualSkyFrame();
   }
   viewparams->bRedrawGameUI = 1;
 }