changeset 1521:5c7316d3e038

Oopsie :-)
author yoctozepto
date Wed, 04 Sep 2013 20:30:05 +0200
parents d023247ae118
children f3802824f576
files Party.cpp
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Party.cpp	Wed Sep 04 20:24:16 2013 +0200
+++ b/Party.cpp	Wed Sep 04 20:30:05 2013 +0200
@@ -1228,7 +1228,9 @@
       _506F18_num_minutes_to_sleep = 0;
       LoadActualSkyFrame();
     }
-    pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 0, 0);
+    if ( dword_506F14 == 2 ) {
+      pMessageQueue_50CBD0->AddMessage(UIMSG_Escape, 0, 0);
+    }
   }
   else
   {