From e14dd9c13621cc6266a958e86ee5aadc103295c1 Mon Sep 17 00:00:00 2001 From: Bruno Wolff III Date: Mar 27 2010 15:42:50 +0000 Subject: Another try at fixing the load problem. --- diff --git a/greyhound-save.patch b/greyhound-save.patch index 327ae87..d34e311 100644 --- a/greyhound-save.patch +++ b/greyhound-save.patch @@ -1,5 +1,14 @@ --- src/load_save.c.orig 2010-03-27 09:29:20.000000000 -0500 -+++ src/load_save.c 2010-03-27 09:25:14.000000000 -0500 ++++ src/load_save.c 2010-03-27 10:39:00.000000000 -0500 +@@ -46,7 +46,7 @@ + fwrite((void*)&statistics_order[0][i], sizeof(gint), 1, fil); + fwrite((void*)&statistics_order[1][i], sizeof(gint), 1, fil); + } +- fwrite((void*)&order[421], sizeof(gint), 1, fil); ++ fwrite((void*)&order[420], sizeof(gint), 1, fil); + + /* read names !! */ + @@ -74,9 +74,9 @@ gint i; @@ -13,3 +22,12 @@ fwrite((void*)&Dog.id, sizeof(gint), 1, fil); fwrite((void*)&Dog.gender, sizeof(gint), 1, fil); fwrite((void*)&Dog.level, sizeof(gint), 1, fil); +@@ -283,7 +283,7 @@ + fread((void*)&statistics_order[0][i], sizeof(gint), 1, fil); + fread((void*)&statistics_order[1][i], sizeof(gint), 1, fil); + } +- fread((void*)&order[421], sizeof(gint), 1, fil); ++ fread((void*)&order[420], sizeof(gint), 1, fil); + + /* date */ + fread((void*)&season, sizeof(gint), 1, fil); diff --git a/greyhounds.spec b/greyhounds.spec index 34c0f3f..86a2b99 100644 --- a/greyhounds.spec +++ b/greyhounds.spec @@ -1,6 +1,6 @@ Name: greyhounds Version: 0.8 -Release: 0.7.prealpha%{?dist} +Release: 0.8.prealpha%{?dist} Summary: Greyhounds is a greyhounds racing and breeding game Summary(pl): Greyhounds to wyścigi i hodowla chartów Group: Amusements/Games @@ -90,6 +90,9 @@ fi %{_datadir}/applications/fedora-%{name}.desktop %changelog +* Sat Mar 27 2010 Bruno Wolff III - 0.8-0.8.prealpha +- Another possible fix for save game issue - Bug 562038 + * Sat Mar 27 2010 Bruno Wolff III - 0.8-0.7.prealpha - Possible fix for save game issue - Bug 562038