summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-05 14:45:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-05 14:45:04 +0300
commit90dd756673b47eed42e0941838033ba9fae59e1c (patch)
tree533f783533f4b577366cbbd084ef318538e5457d /src/defaults.cpp
parentfe1943114fb8a2e417b8f67483e143fcdc1cc213 (diff)
downloadmanaverse-90dd756673b47eed42e0941838033ba9fae59e1c.tar.gz
manaverse-90dd756673b47eed42e0941838033ba9fae59e1c.tar.bz2
manaverse-90dd756673b47eed42e0941838033ba9fae59e1c.tar.xz
manaverse-90dd756673b47eed42e0941838033ba9fae59e1c.zip
Remember sort order in inventory and storage between restarts.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 40b8fec66..9c5a3472f 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -342,6 +342,8 @@ DefaultsData* getConfigDefaults()
AddDEF("doubleClick", true);
AddDEF("useDiagonalSpeed", true);
AddDEF("protectedItems", "");
+ AddDEF("inventorySortOrder", 0);
+ AddDEF("storageSortOrder", 0);
return configData;
}