Showing the changes to interface/src/InterfaceActionFactory.cpp (1 of 16 files). Show all
Unified · Split
| @@ -55,12 +55,12 @@ EntityActionPointer InterfaceActionFactory::factory(EntitySimulation* simulation · 54 unmodified lines | |||
| 55 | EntityActionPointer InterfaceActionFactory::factoryBA(EntitySimulation* simulation, | 55 | EntityActionPointer InterfaceActionFactory::factoryBA(EntitySimulation* simulation, |
| 56 | EntityItemPointer ownerEntity, | 56 | EntityItemPointer ownerEntity, |
| 57 | QByteArray data) { | 57 | QByteArray data) { |
| 58 | QDataStream ds(data); | 58 | QDataStream serializedArgumentStream(data); |
| 59 | EntityActionType type; | 59 | EntityActionType type; |
| 60 | QUuid id; | 60 | QUuid id; |
| 61 | 61 | ||
| 62 | ds >> type; | 62 | serializedArgumentStream >> type; |
| 63 | ds >> id; | 63 | serializedArgumentStream >> id; |
| 64 | 64 | ||
| 65 | EntityActionPointer action = interfaceActionFactory(type, id, ownerEntity); | 65 | EntityActionPointer action = interfaceActionFactory(type, id, ownerEntity); |
| 66 | 66 | ||