mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Really fixed the evil bug.
This commit is contained in:
@@ -109,6 +109,7 @@ void CVCMIServer::start()
|
||||
try
|
||||
{
|
||||
intpr::shared_memory_object smo(intpr::open_only,"vcmi_memory",intpr::read_write);
|
||||
smo.truncate(sizeof(ServerReady));
|
||||
mr = new intpr::mapped_region(smo,intpr::read_write);
|
||||
sr = (ServerReady*)mr->get_address();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user