TPT: Add tmp2 support to old console 418bdf0892
This commit is contained in:
parent
117b1fb5c4
commit
ca42a081ec
@ -52,12 +52,12 @@ int CommandInterface::GetPropertyOffset(std::string key_, FormatType & format)
|
|||||||
} else if (strcmp(key, "temp")==0){
|
} else if (strcmp(key, "temp")==0){
|
||||||
offset = offsetof(Particle, temp);
|
offset = offsetof(Particle, temp);
|
||||||
format = FormatFloat;
|
format = FormatFloat;
|
||||||
} else if (strcmp(key, "tmp")==0){
|
|
||||||
offset = offsetof(Particle, tmp);
|
|
||||||
format = FormatInt;
|
|
||||||
} else if (strcmp(key, "tmp2")==0){
|
} else if (strcmp(key, "tmp2")==0){
|
||||||
offset = offsetof(Particle, tmp2);
|
offset = offsetof(Particle, tmp2);
|
||||||
format = FormatInt;
|
format = FormatInt;
|
||||||
|
} else if (strcmp(key, "tmp")==0){
|
||||||
|
offset = offsetof(Particle, tmp);
|
||||||
|
format = FormatInt;
|
||||||
} else if (strcmp(key, "vy")==0){
|
} else if (strcmp(key, "vy")==0){
|
||||||
offset = offsetof(Particle, vy);
|
offset = offsetof(Particle, vy);
|
||||||
format = FormatFloat;
|
format = FormatFloat;
|
||||||
|
Loading…
Reference in New Issue
Block a user