diff --git a/Adventures in Lestoria/AdventuresInLestoria.cpp b/Adventures in Lestoria/AdventuresInLestoria.cpp index d6fbb7e6..8f012511 100644 --- a/Adventures in Lestoria/AdventuresInLestoria.cpp +++ b/Adventures in Lestoria/AdventuresInLestoria.cpp @@ -2675,6 +2675,7 @@ const MapName&AiL::GetCurrentLevel()const{ } void AiL::ChangePlayerClass(Class cl){ + if(game->GetPlayer()->GetClass()==cl)return; Ability itemAbility1=player->useItem1; Ability itemAbility2=player->useItem2; Ability itemAbility3=player->useItem3; diff --git a/Adventures in Lestoria/Version.h b/Adventures in Lestoria/Version.h index 7ccb0e30..e98d7705 100644 --- a/Adventures in Lestoria/Version.h +++ b/Adventures in Lestoria/Version.h @@ -39,7 +39,7 @@ All rights reserved. #define VERSION_MAJOR 1 #define VERSION_MINOR 2 #define VERSION_PATCH 0 -#define VERSION_BUILD 9019 +#define VERSION_BUILD 9020 #define stringify(a) stringify_(a) #define stringify_(a) #a diff --git a/Adventures in Lestoria/assets/gamepack.pak b/Adventures in Lestoria/assets/gamepack.pak index 5c708f4d..7255574d 100644 Binary files a/Adventures in Lestoria/assets/gamepack.pak and b/Adventures in Lestoria/assets/gamepack.pak differ diff --git a/x64/Release/Adventures in Lestoria.exe b/x64/Release/Adventures in Lestoria.exe index 4381ae8d..c0400463 100644 Binary files a/x64/Release/Adventures in Lestoria.exe and b/x64/Release/Adventures in Lestoria.exe differ