Skip to content

Commit

Permalink
Fix the liberation of cities (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
VDuchauffour committed May 26, 2024
1 parent 717e5f9 commit 871c58b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file modified Assets/CvGameCoreDLL.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion CvGameCoreDLL/CvDLLButtonPopup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -720,7 +720,7 @@ void CvDLLButtonPopup::OnOkClicked(CvPopup *pPopup, PopupReturn *pPopupReturn, C
break;

case BUTTONPOPUP_FREE_COLONY:
if (pPopupReturn->getButtonClicked() > 0)
if (pPopupReturn->getButtonClicked() >= 0)
{
CvMessageControl::getInstance().sendEmpireSplit(GC.getGameINLINE().getActivePlayer(),
pPopupReturn->getButtonClicked());
Expand Down

0 comments on commit 871c58b

Please sign in to comment.