Branch: refs/heads/master
  Home:   https://github.com/Warzone2100/warzone2100
  Commit: a9f1ed88b3e226b284f75b0f85ab0407ffcafb80
      
https://github.com/Warzone2100/warzone2100/commit/a9f1ed88b3e226b284f75b0f85ab0407ffcafb80
  Author: Thiago Barcala <[email protected]>
  Date:   2020-10-11 (Sun, 11 Oct 2020)

  Changed paths:
    M src/display.cpp
    M src/display.h
    M src/hci.cpp

  Log Message:
  -----------
  Remove redundant function `clearSel`


  Commit: eac012d37f0e960f37a0281e07e785622f29d427
      
https://github.com/Warzone2100/warzone2100/commit/eac012d37f0e960f37a0281e07e785622f29d427
  Author: Thiago Barcala <[email protected]>
  Date:   2020-10-11 (Sun, 11 Oct 2020)

  Changed paths:
    M src/display.cpp

  Log Message:
  -----------
  Fix deselecting with RMB


  Commit: 267412911df889b0246fb936772ea57ce056b2ad
      
https://github.com/Warzone2100/warzone2100/commit/267412911df889b0246fb936772ea57ce056b2ad
  Author: Thiago Barcala <[email protected]>
  Date:   2020-10-11 (Sun, 11 Oct 2020)

  Changed paths:
    M src/display.cpp

  Log Message:
  -----------
  Simplify logic for delivery point click

The old logic was implemented when there could be different types of
objects returned from `checkMouseLoc`. This is not the case anymore,
since we are finding the delivery points by looping through
`apsFlagPosLists`.

Also, the previous logic was looping through all the players, trying to
find a delivery point for any player, and then checking if the returned
delivery point belonged to `selectedPlayer`. Now it loops only through
the delivery points from `selectedPlayer`.


Compare: 
https://github.com/Warzone2100/warzone2100/compare/d3b68999a5ee...267412911df8


_______________________________________________
Warzone2100-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-commits

Reply via email to