Преглед изворни кода

Wyświetlamy tylko tyle terenu ile trzeba.

Michał W. Urbańczyk пре 18 година
родитељ
комит
3cbe31545d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      CMT.cpp

+ 1 - 1
CMT.cpp

@@ -231,7 +231,7 @@ int _tmain(int argc, _TCHAR* argv[])
 		mh->init();
 		THC std::cout<<"Inicjalizacja mapHandlera: "<<tmh.getDif()<<std::endl;
 		//SDL_Rect * sr = new SDL_Rect(); sr->h=64;sr->w=64;sr->x=0;sr->y=0;
-		SDL_Surface * teren = mh->terrainRect(0,0,32,32);
+		SDL_Surface * teren = mh->terrainRect(0,0,32,24);
 		THC std::cout<<"Przygotowanie terenu do wyswietlenia: "<<tmh.getDif()<<std::endl;
 		SDL_BlitSurface(teren,NULL,ekran,NULL);
 		SDL_Flip(ekran);