1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-13 01:20:34 +02:00

- fixed some extra warnings. Mostly harmless.

NOTE: Please check changes in BattleState.cpp and GameHandler.cpp for possible bugs
This commit is contained in:
Ivan Savenko
2012-05-28 19:29:32 +00:00
parent 61ccabde53
commit faaf799d95
18 changed files with 24 additions and 24 deletions

View File

@ -896,7 +896,7 @@ void CSDL_Ext::setPlayerColor(SDL_Surface * sur, ui8 player)
tlog3 << "Warning, setPlayerColor called on not 8bpp surface!\n";
}
const TColorPutter CSDL_Ext::getPutterFor(SDL_Surface * const &dest, int incrementing)
TColorPutter CSDL_Ext::getPutterFor(SDL_Surface * const &dest, int incrementing)
{
#define CASE_BPP(BytesPerPixel) \
case BytesPerPixel: \
@ -920,7 +920,7 @@ case BytesPerPixel: \
}
const TColorPutterAlpha CSDL_Ext::getPutterAlphaFor(SDL_Surface * const &dest, int incrementing)
TColorPutterAlpha CSDL_Ext::getPutterAlphaFor(SDL_Surface * const &dest, int incrementing)
{
switch(dest->format->BytesPerPixel)
{