summaryrefslogtreecommitdiff
path: root/src/cat/CommandInterface.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-06-12 15:07:02 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-06-12 15:07:02 (GMT)
commitca42a081ec3607eb3037e406828cedf8deb21245 (patch)
treeaaa8f55f7b18affddce1bd99cfe96058813e3e0a /src/cat/CommandInterface.cpp
parent117b1fb5c487f6d3f15428c1319e8b8c440ba535 (diff)
downloadpowder-ca42a081ec3607eb3037e406828cedf8deb21245.zip
powder-ca42a081ec3607eb3037e406828cedf8deb21245.tar.gz
TPT: Add tmp2 support to old console 418bdf0892
Diffstat (limited to 'src/cat/CommandInterface.cpp')
-rw-r--r--src/cat/CommandInterface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cat/CommandInterface.cpp b/src/cat/CommandInterface.cpp
index e8fc7b8..5b45449 100644
--- a/src/cat/CommandInterface.cpp
+++ b/src/cat/CommandInterface.cpp
@@ -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;