Finished individual pause functionality

This commit is contained in:
Michael Thompson
2017-07-06 12:42:17 -07:00
committed by Jason Watkins
parent 80e21835b6
commit 0aa92297bb

View File

@@ -613,13 +613,6 @@ namespace XPC
value[i] = value[i] ? 0 : 1;
}
}
else if (v == 1)
{
for (int i = 0; i < 20; ++i)
{
value[i] = v;
}
}
else if ((v >= 100) && (v < 120))
{
DataManager::GetIntArray(DREF_Pause, value, 20);
@@ -630,6 +623,13 @@ namespace XPC
DataManager::GetIntArray(DREF_Pause, value, 20);
value[v - 100] = 0;
}
else
{
for (int i = 0; i < 20; ++i)
{
value[i] = v;
}
}
// Set DREF
DataManager::Set(DREF_Pause, value, 20);