1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00
Minor fixes.
This commit is contained in:
DjWarmonger
2010-07-19 18:30:51 +00:00
parent 7078d2caf5
commit 7afc478ff4
5 changed files with 17 additions and 27 deletions

View File

@@ -616,7 +616,6 @@ int Mapa::loadSeerHut( const unsigned char * bufor, int i, CGObjectInstance *& n
}
else //RoE
{
hut->isCustom = false;
int artID = bufor[i]; ++i;
if(artID!=255) //not none quest
{
@@ -625,11 +624,12 @@ int Mapa::loadSeerHut( const unsigned char * bufor, int i, CGObjectInstance *& n
}
else
{
hut->missionType = 255;
hut->missionType = 0; //no mission
}
hut->isCustom = false;
}
if(hut->missionType!=255)
if(hut->missionType)
{
unsigned char rewardType = bufor[i]; ++i;
hut->rewardType = rewardType;