mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 09:33:45 +02:00
rename variable to be more descriptive
This commit is contained in:
parent
e8a6acd65b
commit
5ab2c8d724
1 changed files with 3 additions and 3 deletions
|
@ -37,12 +37,12 @@ EntityActionPointer AssignmentActionFactory::factory(EntitySimulation* simulatio
|
|||
EntityActionPointer AssignmentActionFactory::factoryBA(EntitySimulation* simulation,
|
||||
EntityItemPointer ownerEntity,
|
||||
QByteArray data) {
|
||||
QDataStream ds(data);
|
||||
QDataStream serializedActionDataStream(data);
|
||||
EntityActionType type;
|
||||
QUuid id;
|
||||
|
||||
ds >> type;
|
||||
ds >> id;
|
||||
serializedActionDataStream >> type;
|
||||
serializedActionDataStream >> id;
|
||||
|
||||
EntityActionPointer action = assignmentActionFactory(type, id, ownerEntity);
|
||||
|
||||
|
|
Loading…
Reference in a new issue