[*] Some version change

[-] Fixed bug with non-shifted icon
This commit is contained in:
cybermind 2015-03-06 21:03:32 +05:00
parent 154d05406f
commit f7f00ed4fa
3 changed files with 4 additions and 3 deletions

View file

@ -38,4 +38,4 @@
#define LICENSE "GPL v2"
/// Copyright
#define COPYRIGHT "Copyright (c) 1998-2012 by The Stratagus Project and Pali Rohar"
#define COPYRIGHT "Copyright (c) 1998-2015 by The Stratagus Project"

View file

@ -364,7 +364,7 @@ static void PrintHeader()
fprintf(stdout,
"%s\n written by Lutz Sammer, Fabrice Rossi, Vladi Shabanski, Patrice Fortier,\n"
" Jon Gabrielson, Andreas Arens, Nehal Mistry, Jimmy Salmon, Pali Rohar,\n"
" and others.\n"
" cybermind and others.\n"
"\t" HOMEPAGE "\n"
"Compile options %s",
NameLine, CompileOptions.c_str());

View file

@ -257,7 +257,8 @@ static const CUnit *GetUnitRef(const CUnit &unit, EnumUnit e)
const CUnit *unitToDraw = GetUnitRef(unit, this->UnitRef);
if (unitToDraw && unitToDraw->Type->Icon.Icon) {
unitToDraw->Type->Icon.Icon->DrawIcon(this->Pos, unitToDraw->RescuedFrom ? unitToDraw->RescuedFrom->Index : unitToDraw->Player->Index);
unitToDraw->Type->Icon.Icon->DrawUnitIcon(*UI.SingleSelectedButton->Style, 0, this->Pos, "",
unitToDraw->RescuedFrom ? unitToDraw->RescuedFrom->Index : unitToDraw->Player->Index);
}
}