Merge lp:~timfelgentreff/stratagus/ButtonCheckUnitsNot into lp:stratagus
Proposed by
timfelgentreff
Status: | Merged |
---|---|
Approved by: | Pali |
Approved revision: | 8709 |
Merged at revision: | 8744 |
Proposed branch: | lp:~timfelgentreff/stratagus/ButtonCheckUnitsNot |
Merge into: | lp:stratagus |
Diff against target: |
49 lines (+17/-0) 3 files modified
src/include/interface.h (+2/-0) src/ui/button_checks.cpp (+13/-0) src/ui/script_ui.cpp (+2/-0) |
To merge this branch: | bzr merge lp:~timfelgentreff/stratagus/ButtonCheckUnitsNot |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Pali | Approve | ||
Review via email: mp+165268@code.launchpad.net |
Description of the change
In Warcraft I, only one town hall can be built. Add an allow button check to test if no unit exists to disable a button
To post a comment you must log in.
Patch is simple and looks OK, commit it.