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:
parent
38837ebfc9
commit
406b3e3f1c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user