Remove _Struct from struct declarations

This commit is contained in:
nytmyr
2025-01-26 20:05:36 -06:00
parent 72fb75a6a2
commit 41b8cb3e71
7 changed files with 30 additions and 30 deletions
+6 -6
View File
@@ -800,9 +800,9 @@ bool BotDatabase::LoadTimers(Bot* b)
)
);
std::vector<BotTimer_Struct> v;
std::vector<BotTimer> v;
BotTimer_Struct t{ };
BotTimer t{ };
for (const auto& e : l) {
if (e.timer_value < (Timer::GetCurrentTime() + e.recast_time)) {
@@ -836,7 +836,7 @@ bool BotDatabase::SaveTimers(Bot* b)
return false;
}
std::vector<BotTimer_Struct> v = b->GetBotTimers();
std::vector<BotTimer> v = b->GetBotTimers();
if (v.empty()) {
return true;
@@ -2422,9 +2422,9 @@ bool BotDatabase::LoadBotBlockedBuffs(Bot* b)
)
);
std::vector<BotBlockedBuffs_Struct> v;
std::vector<BotBlockedBuffs> v;
BotBlockedBuffs_Struct t{ };
BotBlockedBuffs t{ };
for (const auto& e : l) {
t.spell_id = e.spell_id;
@@ -2451,7 +2451,7 @@ bool BotDatabase::SaveBotBlockedBuffs(Bot* b)
return false;
}
std::vector<BotBlockedBuffs_Struct> v = b->GetBotBlockedBuffs();
std::vector<BotBlockedBuffs> v = b->GetBotBlockedBuffs();
if (v.empty()) {
return true;