mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
fix: Minor fix on commented debug string
This commit is contained in:
parent
2b5b428237
commit
7573720398
@ -18,7 +18,7 @@ extern UnitsManager* unitsManager;
|
||||
Unit::Unit(json::value json, unsigned int ID) :
|
||||
ID(ID)
|
||||
{
|
||||
// log("Creating unit with ID: " + to_string(ID));
|
||||
log("Creating unit with ID: " + to_string(ID));
|
||||
}
|
||||
|
||||
Unit::~Unit()
|
||||
@ -83,9 +83,8 @@ void Unit::update(json::value json, double dt)
|
||||
if (json.has_boolean_field(L"isAlive"))
|
||||
setAlive(json[L"isAlive"].as_bool());
|
||||
|
||||
if (json.has_boolean_field(L"radarState")) {
|
||||
if (json.has_boolean_field(L"radarState"))
|
||||
setRadarState(json[L"radarState"].as_bool());
|
||||
}
|
||||
|
||||
if (json.has_boolean_field(L"isHuman"))
|
||||
setHuman(json[L"isHuman"].as_bool());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user