Threaded barriers into the client, not yet queried

I've also refactored the rooms slightly.
This commit is contained in:
2016-04-04 01:05:32 +10:00
parent 7b9c016082
commit 7205d6692c
12 changed files with 280 additions and 58 deletions
+1
View File
@@ -27,6 +27,7 @@
BarrierData::BarrierData(int i):
Entity::Entity("barrier")
{
instanceIndex = i;
memcpy(status, 0, sizeof(int) * 8);
}
+1 -1
View File
@@ -50,7 +50,7 @@ private:
int scriptRef = LUA_NOREF;
std::map<std::string, std::string> tags;
int instanceIndex = -1;
int instanceIndex;
int status[8];
};