/[pkgs]/devel/8Kingdoms/8Kingdoms-1.1.0-crash.patch
ViewVC logotype

Contents of /devel/8Kingdoms/8Kingdoms-1.1.0-crash.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Thu Jan 3 22:12:30 2008 UTC (22 months, 3 weeks ago) by jwrdegoede
Branch: MAIN
CVS Tags: Kingdoms-1_1_0-6_fc9, Kingdoms-1_1_0-3_fc9, Kingdoms-1_1_0-5_fc9, F-10-split, Kingdoms-1_1_0-7_fc11, Kingdoms-1_1_0-4_fc9, F-9-split, HEAD
File MIME type: text/x-patch
* Thu Jan  3 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.1.0-3
- Rebuild for new tcl, note: it builds but does not work with the new TCL!
  help fixing this asked upstream. Any help much appreciated!
- Fix compiling with gcc 4.3
- Fix crash undercertain conditions (bz 425799)
1 --- 8Kingdoms-1.1.0/gui/model/UnitFormation.cpp~ 2008-01-03 20:51:33.000000000 +0100
2 +++ 8Kingdoms-1.1.0/gui/model/UnitFormation.cpp 2008-01-03 20:51:33.000000000 +0100
3 @@ -148,8 +148,9 @@ void TFormation::setStandardFormation(P2
4 //vypocti polohy pro cleny
5 TUnitMemberPosition ump;
6 vumpPositions_c = 0;
7 - getUnitMemberDim(0, &ump.p2fDim);
8 int size = (int)unit->vMembers.size();
9 + if (size)
10 + getUnitMemberDim(0, &ump.p2fDim);
11 for(int i = 0; i < size; i++)
12 {
13 findFreeMemberPosition(vumpPositions_c, &(ump.p2fPos), &(ump.p2fDir));

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2