1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Apply suggestions from code review

Co-authored-by: Nordsoft91 <nordsoft@yahoo.com>
This commit is contained in:
Ivan Savenko 2022-11-29 18:24:03 +02:00 committed by GitHub
parent 26a2ac72b8
commit c233e57079
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -765,7 +765,7 @@ void CStackQueue::update()
int32_t CStackQueue::getSiegeShooterIconID()
{
return owner->siegeH->town->town->faction->index;
return owner->siegeH->town->town->faction->index;
}
CStackQueue::StackBox::StackBox(CStackQueue * owner):

View File

@ -315,7 +315,7 @@ void Graphics::addImageListEntry(size_t index, size_t group, const std::string &
if (!imageName.empty())
{
JsonNode entry;
if ( group != 0)
if(group != 0)
entry["group"].Integer() = group;
entry["frame"].Integer() = index;
entry["file"].String() = imageName;