1
This commit is contained in:
parent
5d9de283df
commit
8f8f91ddbb
@ -64,11 +64,21 @@ namespace mt
|
||||
switch (cond().at(0)) {
|
||||
case '>':
|
||||
{
|
||||
if (cond().size() < 2) {
|
||||
A8_ABORT();
|
||||
}
|
||||
if (cond().at(1) == '=') {
|
||||
_cond_type = InGameVoiceCondType_e::kGE;
|
||||
_cond_val = a8::XValue(cond().substr(2));
|
||||
} else {
|
||||
_cond_type = InGameVoiceCondType_e::kGT;
|
||||
_cond_val = a8::XValue(cond().substr(1));
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
{
|
||||
_cond_type = InGameVoiceCondType_e::kEq;
|
||||
_cond_type = InGameVoiceCondType_e::kEQ;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -32,7 +32,7 @@ A8_DECLARE_ENUM(InGameVoiceNotifyObject_e,
|
||||
|
||||
A8_DECLARE_ENUM(InGameVoiceCondType_e,
|
||||
kNone,
|
||||
kEq,
|
||||
kEQ,
|
||||
kGT,
|
||||
kGE
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user