mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 08:57:34 +01:00
Format Entity.cpp.
This commit is contained in:
parent
7d8a93324e
commit
30a413ca78
@ -5631,14 +5631,14 @@ void Entity::update(float delta) {
|
||||
}
|
||||
|
||||
if (ESS::get_singleton()) {
|
||||
for (int i = 0; i < ESS::get_singleton()->stat_get_count(); ++i) {
|
||||
if (stat_get_dirty(i)) {
|
||||
ssend_stat(i, stat_gets_current(i));
|
||||
for (int i = 0; i < ESS::get_singleton()->stat_get_count(); ++i) {
|
||||
if (stat_get_dirty(i)) {
|
||||
ssend_stat(i, stat_gets_current(i));
|
||||
|
||||
stat_set_dirty(i, false);
|
||||
stat_set_dirty(i, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (_s_entity_controller == EntityEnums::ENITIY_CONTROLLER_AI && _s_ai.is_valid() && _s_ai->get_enabled()) {
|
||||
if (_s_pet_owner)
|
||||
@ -5976,7 +5976,7 @@ Entity::Entity() {
|
||||
//_action_bar_profile.instance();
|
||||
_actionbar_locked = false;
|
||||
|
||||
ESS* ess_singleton = ESS::get_singleton();
|
||||
ESS *ess_singleton = ESS::get_singleton();
|
||||
|
||||
if (ess_singleton) {
|
||||
_stats.resize(ess_singleton->stat_get_count());
|
||||
|
Loading…
Reference in New Issue
Block a user