mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix tiny space issue and remove reference of SDL.h
This commit is contained in:
parent
468584d469
commit
8db638c054
@ -739,10 +739,9 @@ void CPlayerInterface::battleUnitsChanged(const std::vector<UnitChanges> & units
|
||||
if(unit->alive() && animation->isDead())
|
||||
animation->setType(CCreatureAnim::HOLDING);
|
||||
|
||||
if (unit->isClone())
|
||||
{
|
||||
if(unit->isClone())
|
||||
animation->shiftColor(ColorShifterDeepBlue::create());
|
||||
}
|
||||
|
||||
//TODO: handle more cases
|
||||
}
|
||||
break;
|
||||
|
@ -11,7 +11,6 @@
|
||||
#include "CAnimation.h"
|
||||
|
||||
#include <SDL_image.h>
|
||||
#include <SDL.h>
|
||||
|
||||
#include "../CBitmapHandler.h"
|
||||
#include "../Graphics.h"
|
||||
|
Loading…
Reference in New Issue
Block a user