Fix uninitialized variables.

This commit is contained in:
Relintai 2019-09-11 11:30:29 +02:00
parent 50062d8ad4
commit 4bf99ac12d

View File

@ -251,8 +251,15 @@ Entity::Entity() {
_s_active_category_cooldowns = 0; _s_active_category_cooldowns = 0;
_c_active_category_cooldowns = 0; _c_active_category_cooldowns = 0;
_s_entity_type = EntityEnums::EntityType::ENITIY_TYPE_NONE; _s_entity_type = EntityEnums::ENITIY_TYPE_NONE;
_c_entity_type = EntityEnums::EntityType::ENITIY_TYPE_NONE; _c_entity_type = EntityEnums::ENITIY_TYPE_NONE;
_s_immunity_flags = 0;
_s_entity_flags = 0;
_c_entity_flags = 0;
_s_entity_controller = EntityEnums::ENITIY_CONTROLLER_NONE;
_s_target = NULL; _s_target = NULL;
_c_target = NULL; _c_target = NULL;