Fix: contracts screen could be accessed - incorrectly - from secondary stations, if docked, looking at the long range map, and pressing the key '?'. Not any more.

git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@3736 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
Marc 2010-08-12 17:03:18 +00:00
parent 7aa55be82c
commit ea621ca6e0

View File

@ -1655,7 +1655,7 @@ static NSTimeInterval time_last_frame;
}
case GUI_SCREEN_SYSTEM_DATA:
if ([self status] == STATUS_DOCKED && [gameView isDown:key_contract_info] && ![UNIVERSE strict]) // '?' toggle between maps/info and contract screen
if ([self status] == STATUS_DOCKED && dockedStation == [UNIVERSE station] && [gameView isDown:key_contract_info] && ![UNIVERSE strict]) // '?' toggle between maps/info and contract screen
{
if (!queryPressed)
{