From 150a4793a670fb06b7997d7964f9626f3a238766 Mon Sep 17 00:00:00 2001 From: richiesams Date: Wed, 4 Sep 2013 00:19:03 -0500 Subject: ZVISION: Initialize Location to the main menu This ensures that the first auto save of the game will have a useful location --- engines/zvision/script_manager.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'engines') diff --git a/engines/zvision/script_manager.h b/engines/zvision/script_manager.h index d2ad4acfff..61ad4fa87a 100644 --- a/engines/zvision/script_manager.h +++ b/engines/zvision/script_manager.h @@ -39,6 +39,8 @@ namespace ZVision { class ZVision; struct Location { + Location() : world('g'), room('a'), node('r'), view('y'), offset(0) {} + char world; char room; char node; -- cgit v1.2.3