mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Remove most of non-const access to VLC entities
This commit is contained in:
@@ -18,7 +18,7 @@ VCMI_LIB_NAMESPACE_BEGIN
|
||||
|
||||
RoadTypeHandler::RoadTypeHandler()
|
||||
{
|
||||
objects.push_back(new RoadType);
|
||||
objects.push_back(new RoadType());
|
||||
|
||||
VLC->generaltexth->registerString("core", objects[0]->getNameTextID(), "");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user