1
This commit is contained in:
parent
8e50ea6aea
commit
7838ebdbc4
@ -84,8 +84,8 @@ bool AirRaid::GenAirRaidPos(const mt::AirRaid* raid_meta, glm::vec3& center)
|
||||
}
|
||||
}
|
||||
}
|
||||
#ifdef DEBUG1
|
||||
if (humans.size() > 0) {
|
||||
#ifdef DEBUG
|
||||
if (humans.size() > 0 && room_->debug_params.find(121) != room_->debug_params.end()) {
|
||||
center = humans[0]->GetPos().ToGlmVec3();
|
||||
}
|
||||
#endif
|
||||
|
@ -133,6 +133,10 @@ void Player::_CMExecCommand(f8::MsgHdr& hdr, const cs::CMExecCommand& msg)
|
||||
#if DEBUG
|
||||
room->debug_params[119] = 1;
|
||||
#endif
|
||||
} else if (cmd == "airraid") {
|
||||
#if DEBUG
|
||||
room->debug_params[121] = 1;
|
||||
#endif
|
||||
} else if (cmd == "autodie") {
|
||||
#if DEBUG
|
||||
if (cmds.size() >= 2) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user