← Back to team overview

widelands-dev team mailing list archive

Re: [Merge] lp:~widelands-dev/widelands/bug-1559729-lost_portspace into lp:widelands

 

My idea is to modify this part of code:
http://bazaar.launchpad.net/~widelands-dev/widelands/bug-1559729-lost_portspace/view/head:/src/logic/map.cc#L2104

if in editor, it should delete port spaces, but if in game - do not delete them, coordinates should be preserved until obstacles for port space are gone.

I understand this is called whenever you click the save map/game. But I dont know how to find out if it is the game or editor, so I am not able to test it right now....

At least this is how I understand the logic...
-- 
https://code.launchpad.net/~widelands-dev/widelands/bug-1559729-lost_portspace/+merge/289626
Your team Widelands Developers is requested to review the proposed merge of lp:~widelands-dev/widelands/bug-1559729-lost_portspace into lp:widelands.


References