@@ -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