diff options
author | richiesams | 2013-09-04 00:19:03 -0500 |
---|---|---|
committer | richiesams | 2013-09-04 00:19:03 -0500 |
commit | 150a4793a670fb06b7997d7964f9626f3a238766 (patch) | |
tree | 6a5592c4ffbe854268ec001310e8d63736bd5790 /engines | |
parent | 7ff45447adca39bca5be78bac34e8f900644edae (diff) | |
download | scummvm-rg350-150a4793a670fb06b7997d7964f9626f3a238766.tar.gz scummvm-rg350-150a4793a670fb06b7997d7964f9626f3a238766.tar.bz2 scummvm-rg350-150a4793a670fb06b7997d7964f9626f3a238766.zip |
ZVISION: Initialize Location to the main menu
This ensures that the first auto save of the game will have a
useful location
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/script_manager.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |