mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-29 00:41:38 +02:00
* Fixed bug #112
* Improved the security checks for ExchangeArtifact and SetArtifact, but have also come to realize that SetArtifact is inherently broken and can be used for cheating. :( * Preliminary work for combination artifacts, it's now possible to identify artifacts that are combined and what they're made up of. * Happy New Year!
This commit is contained in:
@ -1448,7 +1448,7 @@ void CGameState::init(StartInfo * si, Mapa * map, int Seed)
|
||||
hero->recreateArtBonuses();
|
||||
}
|
||||
else
|
||||
hero->artifacts.push_back(toGive->id);
|
||||
hero->giveArtifact(toGive->id);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user