spring: develop b8a4eba2 | [ Diff ] [ Back to Repository ] | |||
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
tvo | tvo | develop | 2007-10-13 21:51:14 | develop aaecc782 |
Changeset | * Don't set the default shareTeam to a dead team ever. Also use parentheses when necessary please, in the following condition && would be evaluated before ||, effectively bypassing the isDead check if you clicked OK (as opposed to Apply). This is fixed now. if (InBox(mx, my, box + okBox) || InBox(mx, my, box + applyBox) && !gs->Team(shareTeam)->isDead && !gs->Team(gu->myTeam)->isDead) git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@4568 37977431-3df6-0310-b722-df95706aa16b |
|||
mod - rts/Game/UI/ShareBox.cpp | [ Diff ] [ File ] |