[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Alpha 20 Preperations
From: |
Bradley Arsenault |
Subject: |
Re: [glob2-devel] Alpha 20 Preperations |
Date: |
Wed, 2 Aug 2006 10:00:46 -0400 |
On 8/2/06, Kai Antweiler <address@hidden> wrote:
> the crash when removing one team i don't know where that came from
> but it was already a bug in the old editor.
The old bug is:
http://savannah.nongnu.org/bugs/index.php?func=detailitem&item_id=16096
To produce the new bug you have to increase the number of teams, add a
building or a unit for the new team and then decrease the number of
teams.
Last time the bug was caused by one of the gradients of the removed
team which has not been deleted properly.
By the way: is there a way to control which team will be removed when
you reduce the number of players?
Not yet. I'll try and implement that soon.
Bradley you commented a few asserts in Map::removeTeam (Map.cpp).
I guess the thing that caused you to comment them, is the source for this
bug.
Interesting you discovered that. Yes, I commented out a few asserts in
Map::removeTeam. I saw no reason for them to be in place, they where
just expecting the gradients to be already computed, and I could not
trace any call to any compute gradients function. There is no need
untill the game is in play. I replaced them with some null pointer
checks that will keep the game from deleting 0.
--
Kai Antweiler
--
Start and finish, Bradley Arsenault