summaryrefslogtreecommitdiff
path: root/src/manager/manager11.c
blob: 841407fc118537d63574197792b18d1637df2706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "global.h"
#include "manager.h"
#include "flags.h"

void sub_080599B8(Manager11* this) {
    if (!this->manager.action) {
        this->manager.action = 1;
        if (CheckFlags(this->unk_3c)) {
            DeleteThisEntity();
        }
    } else {
        if (CheckFlags(this->unk_3e)) {
            SetFlag(this->unk_3c);
            DeleteThisEntity();
        }
    }
}