Skip to main content
Topic: [SOLVED BUG] No ground under fields (Read 4613 times) previous topic - next topic

[SOLVED BUG] No ground under fields

Last night i was testing a new factory for pak128 (a forest using trees as fields)
it's fields have no ground underneath, to match with the climate.
When i placed manually the factory, under the fields there was no ground (only that "transparency").
When i rotated once or more the map, the problem disappeared and the ground was correctly rendered.

Re: [BUG] No ground under fields

Reply #1
I have reported this before - and would love it to be fixed.  Apparently it's not a bug though, fields don't currently support needs_ground properly...

Re: [BUG] No ground under fields

Reply #2
but after rotating it works properly. i think it's more the need for a refresh

 

Re: [BUG] No ground under fields

Reply #3
When i placed manually the factory, under the fields there was no ground (only that "transparency").
This should be fixed in revision 2516.

Actuallly, fields are treated internally as if the parameter "needs_ground =1" was set, i.e. the ground under fields is always drawn (if no bugs are present).
Parsley, sage, rosemary, and maggikraut.

Re: [BUG] No ground under fields

Reply #4
whops! i realised just now i was using an OLD version (March, i think) to test the factory. I'll try a newer one. so far, the bug should be closed. thanks.

Re: [SOLVED BUG] No ground under fields

Reply #5
I've still experienced the same behaviour in r2569 though...

Re: [SOLVED BUG] No ground under fields

Reply #6
Dwachs mean, that it's fixed in 2615 :)

A little bit offtopic:
Where is gr->calc_bild() called, when the map is rotated? I searched it, but didn't find...

Re: [SOLVED BUG] No ground under fields

Reply #7
That would make sense then :)

Re: [SOLVED BUG] No ground under fields

Reply #8
Where is gr->calc_bild() called, when the map is rotated? I searched it, but didn't find...

simwerkz.h, line 578, calls welt->update_map(), which does the job.

whops! i realised just now i was using an OLD version (March, i think) to test the factory. I'll try a newer one. so far, the bug should be closed. thanks.
After placing the factories and fields with map editor, the bug appears as you had described. The bug was also present in recent version, but is now fixed.
Parsley, sage, rosemary, and maggikraut.