Fix invalid writes in Elvira 1, the original game would overwrite into _window6BackScn.

svn-id: r27078
This commit is contained in:
Travis Howell 2007-06-04 07:04:42 +00:00
parent c3a346fb16
commit 78c9061cff

View File

@ -607,7 +607,7 @@ int AGOSEngine::init() {
} else if (getGameType() == GType_WW || getGameType() == GType_ELVIRA2) {
_window4BackScn = (byte *)calloc(224 * 127, 1);
} else if (getGameType() == GType_ELVIRA1) {
_window4BackScn = (byte *)calloc(224 * 127, 1);
_window4BackScn = (byte *)calloc(224 * 144, 1);
_window6BackScn = (byte *)calloc(48 * 80, 1);
}