1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

* unnecessary code removed

This commit is contained in:
mateuszb 2011-03-15 17:25:51 +00:00
parent 38837ebfc9
commit 406b3e3f1c
2 changed files with 2 additions and 4 deletions

View File

@ -597,8 +597,8 @@ SDLImage::SDLImage(std::string filename, bool compressed):
}
void SDLImage::draw(SDL_Surface *where, int posX, int posY, Rect *src, unsigned char rotation) const
{
if (!surf)
{
if (!surf)
return;
Rect sourceRect(margins.x, margins.y, surf->w, surf->h);
//TODO: rotation and scaling

View File

@ -518,8 +518,6 @@ int main(int argc, char** argv)
#endif
}
tlog0 << "Port " << port << " will be used." << std::endl;
CLodHandler h3bmp;
h3bmp.init(DATA_DIR "/Data/H3bitmap.lod", DATA_DIR "/Data");
initDLL(console,logfile);
srand ( (unsigned int)time(NULL) );
try