Commit 8f9a3005 authored by Aaron Bray's avatar Aaron Bray
Browse files

Bug fix for loading state strings

parent 7b4bb637
......@@ -33,7 +33,7 @@ bool PulseEngine::SerializeToFile(const std::string& filename, SerializationForm
bool PulseEngine::SerializeFromString(const std::string& src, SerializationFormat m)
{
return SerializeFromString(src, m);
return m_PulseController->SerializeFromString(src, m);
}
bool PulseEngine::SerializeToString(std::string& output, SerializationFormat m) const
{
......
......@@ -78,7 +78,7 @@ namespace HowTo_UseEngine
// You must provide an event listener to get events
pulse.SetEventHandler(new MyEventHandler());
InitializationType initType = InitializationType.StateFileName;
InitializationType initType = InitializationType.StateString;
switch (initType)
{
case InitializationType.StateFileName:
......
......@@ -33,7 +33,7 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Google.Protobuf">
<HintPath>..\..\..\..\..\Builds\pulse-engine\External\protobuf\src\csharp\src\Google.Protobuf\bin\Debug\net45\Google.Protobuf.dll</HintPath>
<HintPath>..\..\..\..\..\Builds\pulse-engine\External\protobuf\src\csharp\src\Google.Protobuf\bin\Release\net45\Google.Protobuf.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment