Skip to content

Commit

Permalink
qt: Enable DISABLE_PERFECT_AI when build with qmake (WAR)
Browse files Browse the repository at this point in the history
  • Loading branch information
calcitem committed Jan 24, 2021
1 parent e2f87cb commit 206cf2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@
//#define PVS_AI
#define MTDF_AI

#ifndef DISABLE_PERFECT_AI
#ifdef _MSC_VER
#define PERFECT_AI_SUPPORT
#endif
#endif

//#define PERFECT_AI_TEST

Expand Down
2 changes: 2 additions & 0 deletions millgame.pro
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ RC_FILE += millgame.rc

TRANSLATIONS += millgame-qt_zh_CN.ts

DEFINES += DISABLE_PERFECT_AI

# Mobile App support
#DEFINES += MOBILE_APP_UI

Expand Down

0 comments on commit 206cf2e

Please sign in to comment.