On Sat, 2 Dec 2000, Ove Kaaven wrote:

> > It crashes there for me also. But you can load games that you already
> > have. So if you just want to play you can generate some games in
> > windows and save.
>
> I don't have any save games, and I don't have Windows.

I have search for the bug but have not found it yet. But I have a
workaround that you can use to get past that point. With this patch I can
create new games and play without problems. I just started a new game
and played for a couple of minutes. Search one hut and created two
new cities,

But it's still dead slow. So if you could take a look at 8-bit DIB's or
whatever that civ2 uses I would be very happy.

Here is that hack that is ONLY for civ2 and that destroys other programs:

diff -u -w -r1.108 win.c
--- windows/win.c       2000/12/01 23:58:32     1.108
+++ windows/win.c       2000/12/03 09:21:21
@@ -1918,6 +1918,8 @@
     if (!wndPtr) return 0;
     if (offset >= 0)
     {
+      if( offset == 0xa ) offset = 8;
+
         if (offset + sizeof(LONG) > wndPtr->class->cbWndExtra)
         {
             WARN("Invalid offset %d\n", offset );


---
/Dennis


Reply via email to