mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Fixed desync due to uninitialized objects. Added some logging. RMG maps don't work yet, though.
This commit is contained in:
@ -632,6 +632,11 @@ std::string CGResource::getHoverText(PlayerColor player) const
|
||||
return VLC->generaltexth->restypes[subID];
|
||||
}
|
||||
|
||||
CGResource::CGResource()
|
||||
{
|
||||
amount = 0;
|
||||
}
|
||||
|
||||
void CGResource::initObj()
|
||||
{
|
||||
blockVisit = true;
|
||||
|
Reference in New Issue
Block a user