Przeglądaj źródła

Hotfix for meeting window.

Michał W. Urbańczyk 15 lat temu
rodzic
commit
0f4478d8cf
2 zmienionych plików z 2 dodań i 2 usunięć
  1. 1 1
      client/GUIClasses.cpp
  2. 1 1
      global.h

+ 1 - 1
client/GUIClasses.cpp

@@ -5022,6 +5022,7 @@ void CArtifactsOfHero::markPossibleSlots (const CArtifact* art)
  */
 void CArtifactsOfHero::unmarkSlots(bool withRedraw /*= true*/)
 {
+	if(!commonInfo) return;
 	for (std::set<CArtifactsOfHero *>::iterator it = commonInfo->participants.begin();
 		it != commonInfo->participants.end();
 		++it)
@@ -5115,7 +5116,6 @@ CArtifactsOfHero::CArtifactsOfHero(const Point &position) :
 CArtifactsOfHero::~CArtifactsOfHero()
 {
 	dispose();
-	CGI->curh->dragAndDropCursor(NULL);
 }
 
 void CArtifactsOfHero::updateParentWindow()

+ 1 - 1
global.h

@@ -25,7 +25,7 @@ typedef ui16 spelltype;
 #define THC
 #endif
 
-#define NAME_VER ("VCMI 0.83'")
+#define NAME_VER ("VCMI 0.83''")
 extern std::string NAME; //full name
 extern std::string NAME_AFFIX; //client / server
 #define CONSOLE_LOGGING_LEVEL 5