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:
parent
26a2ac72b8
commit
c233e57079
@ -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):
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user