mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-09-02 20:42:36 +02:00
TPT: Add tmp2 support to old console 418bdf0892
This commit is contained in:
@@ -52,12 +52,12 @@ int CommandInterface::GetPropertyOffset(std::string key_, FormatType & format)
|
||||
} else if (strcmp(key, "temp")==0){
|
||||
offset = offsetof(Particle, temp);
|
||||
format = FormatFloat;
|
||||
} else if (strcmp(key, "tmp")==0){
|
||||
offset = offsetof(Particle, tmp);
|
||||
format = FormatInt;
|
||||
} else if (strcmp(key, "tmp2")==0){
|
||||
offset = offsetof(Particle, tmp2);
|
||||
format = FormatInt;
|
||||
} else if (strcmp(key, "tmp")==0){
|
||||
offset = offsetof(Particle, tmp);
|
||||
format = FormatInt;
|
||||
} else if (strcmp(key, "vy")==0){
|
||||
offset = offsetof(Particle, vy);
|
||||
format = FormatFloat;
|
||||
|
Reference in New Issue
Block a user