summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-01-18 23:09:43 +0000
committerrubidium <rubidium@openttd.org>2011-01-18 23:09:43 +0000
commit9ca4b629cd91c2749d9efafd752fc5175ebce5fd (patch)
tree24da99d42f3e33eb7f4109462dcced5adc6eab15 /src/saveload
parent7efd7e19ed046a4a0c03077f27930291ba5b9725 (diff)
downloadopenttd-9ca4b629cd91c2749d9efafd752fc5175ebce5fd.tar.xz
(svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s].
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/order_sl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/saveload/order_sl.cpp b/src/saveload/order_sl.cpp
index 31c6c9fb8..f9fd46231 100644
--- a/src/saveload/order_sl.cpp
+++ b/src/saveload/order_sl.cpp
@@ -17,6 +17,10 @@
#include "saveload.h"
+/**
+ * Converts this order from an old savegame's version;
+ * it moves all bits to the new location.
+ */
void Order::ConvertFromOldSavegame()
{
uint8 old_flags = this->flags;