~ares-developers/ares/gd03

« back to all changes in this revision

Viewing changes to src/Commands/AIControl.h

  • Committer: Zimmermann Gyula
  • Date: 2012-09-22 13:23:15 UTC
  • mfrom: (825.1.41)
  • Revision ID: git-v1:28613a17bb384e20bb2b95b5fbb0d9dfb903eaab
Merge remote-tracking branch 'origin/v02' into gd03

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#ifndef CMD_AICTRL_H
2
2
#define CMD_AICTRL_H
3
3
 
4
 
class AIControlCommandClass : public CommandClass
 
4
class AIControlCommandClass : public AresCommandClass
5
5
{
6
6
public:
7
7
        //Destructor
22
22
 
23
23
        virtual void Execute(DWORD dwUnk)
24
24
        {
 
25
                if(this->CheckDebugDeactivated()) {
 
26
                        return;
 
27
                }
 
28
 
25
29
                HouseClass* P = HouseClass::Player;
26
30
 
27
31
                if(P->CurrentPlayer && P->PlayerControl) {