Browse Source

update automake file

Vadim Glazunov 17 years ago
parent
commit
df03f4ef78
2 changed files with 5 additions and 2 deletions
  1. 2 1
      client/CSpellWindow.cpp
  2. 3 1
      client/Makefile.am

+ 2 - 1
client/CSpellWindow.cpp

@@ -53,7 +53,8 @@ CSpellWindow::CSpellWindow(const SDL_Rect & myRect, const CGHeroInstance * myHer
 	schoolF = CDefHandler::giveDef("SplevF.def");
 	schoolA = CDefHandler::giveDef("SplevA.def");
 
-	exitBtn = new ClickableArea(genRect(45, 35, 569, 407), boost::bind(&CSpellWindow::fexitb, this));
+	SDL_Rect temp_rect = genRect(45, 35, 569, 407);
+	exitBtn = new ClickableArea(temp_rect, boost::bind(&CSpellWindow::fexitb, this));
 	statusBar = new CStatusBar(97, 571, "Spelroll.bmp");
 }
 

+ 3 - 1
client/Makefile.am

@@ -37,6 +37,7 @@ vcmiclient_SOURCES =  \
 ../mapHandler.cpp \
 ../SDL_Extensions.cpp \
 ../SDL_framerate.cpp \
+./CSpellWindow.cpp \
 ../AdventureMapButton.h \
 ../AI_Base.h \
 ../hch/CAbilityHandler.h \
@@ -79,4 +80,5 @@ vcmiclient_SOURCES =  \
 ../SDL_framerate.h \
 ../StartInfo.h \
 ../stdafx.h \
-../timeHandler.h
+../timeHandler.h \
+./CSpellWindow.h