From: sparky4 Date: Wed, 23 Sep 2015 18:03:30 +0000 (-0500) Subject: wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;ds=inline;h=ea99039b95986b2a21df3ed30569e495e675eb76;p=16.git wwww modified: scroll.exe modified: scroll.map modified: src/lib/scroll16.c --- diff --git a/scroll.exe b/scroll.exe index ffc94113..37b3c701 100755 Binary files a/scroll.exe and b/scroll.exe differ diff --git a/scroll.map b/scroll.map index d6688e88..550ff65f 100755 --- a/scroll.map +++ b/scroll.map @@ -1,7 +1,7 @@ Open Watcom Linker Version 2.0 beta Sep 21 2015 10:22:11 (32-bit) Copyright (c) 2002-2015 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 15/09/23 12:57:42 +Created on: 15/09/23 13:03:30 Executable Image: scroll.exe creating a DOS executable diff --git a/src/lib/scroll16.c b/src/lib/scroll16.c index 744db87d..23d34bef 100755 --- a/src/lib/scroll16.c +++ b/src/lib/scroll16.c @@ -451,7 +451,7 @@ sword chkmap(map_t *map, word q) 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, \ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 3, 3, 3, 1, 2, 3, 4 };*/ //check for failed to load map - if((map->width == map->height == 0) || (q>0)) + if((map->width == map->height == 0) && (q>0)) { //initiate a null map! map->width=MAPW;///2;