 |
|
MrBaggins
|
|
Just curious, but is gaiacontroller the place to handle this? how did you come by that information.
I just assumed it would be void World::CutImprovements(const MapPoint &point) in WrlEnv.cpp or something.
|
|
|  |
 |
|
MrBaggins
|
|
Game crashes if a unit pillages a tile which doesn't have an owner.
|
|
|  |
 |
|
Gilgamensch
|
|
France
Jun 2002 time: 06:31
|
|
Martin,
might sound stupid,
but why not making it slightly different:
If the owner is < 0, change owner to 0 (babarian, or?)
might be easier, or?
|
|
|  |
 |
|
Gilgamensch
|
|
France
Jun 2002 time: 06:31
|
|
That was also my point, trying to fix in the procedure where it is broken and not somewhere else.
But did you read my other suggestion?
|
|
|  |
 |
|
Gilgamensch
|
|
France
Jun 2002 time: 06:31
|
|
I haven't got any compiler, so sorry if I can't assist you with this.
But if I see it right,
you just return to GEV_HD_continue, but you don't 'change' the owner.
My idea was more to change the owner to like babarian and get away with it, this way.
|
|
|  |
 |
|
Gilgamensch
|
|
France
Jun 2002 time: 06:31
|
|
*beating the table with my head*
yep, that would be right.
BUT only as a thought, maybe there is some other check afterwards, while it was run through there. So maybe you still might want to try to change the owner there before returning........(hard to tell without having checked everything........)
|
|
|  |
 |
|
Gilgamensch
|
|
France
Jun 2002 time: 06:31
|
|
OK, then I see two ways:
If you don't like to change it to babarian (which IIRC is player 0)
then
we would need to remove all TI's if the border changes......
But, I don't see where your problem would be, to change it to babarian? (espacially for pillaging?)
|
|
|  |
 |
|
Gilgamensch
|
|
France
Jun 2002 time: 06:31
|
|
sounds a little bit like a reversed Murphy's Law.............
But if it doesn't chrash anymore, would be good (just had one of those games.............)
|
|
|  |
All times are GMT. The time now is 05:31. Apolyton Time is 00:31. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|