summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2005-01-25 17:05:38 +0000
committerdominik <dominik@openttd.org>2005-01-25 17:05:38 +0000
commit8a1aff126b60a9882b49f3a1d11445a86e528601 (patch)
tree6730cc518005cbfd7d6528c75e1cb9a2915edb08
parentb85925cbae60b1f79ac223021bdd861968564617 (diff)
downloadopenttd-8a1aff126b60a9882b49f3a1d11445a86e528601.tar.xz
(svn r1673) - Codechange: Removed some redundant comments from r1667
Saving the player color for signs will work right after the savegame bump
-rw-r--r--saveload.c3
-rw-r--r--signs.c2
2 files changed, 1 insertions, 4 deletions
diff --git a/saveload.c b/saveload.c
index a37b40724..deeedbb8c 100644
--- a/saveload.c
+++ b/saveload.c
@@ -6,9 +6,6 @@
#include "player.h"
#include "saveload.h"
-/* TODO when upgrading to version 6.0:
- * - uncomment "SLE_CONDVAR(SignStruct,owner..." in _sign_desc (signs.c) */
-
enum {
SAVEGAME_MAJOR_VERSION = 5,
SAVEGAME_MINOR_VERSION = 2,
diff --git a/signs.c b/signs.c
index a8f65ca51..68bded979 100644
--- a/signs.c
+++ b/signs.c
@@ -193,7 +193,7 @@ static const byte _sign_desc[] = {
SLE_CONDVAR(SignStruct,y, SLE_FILE_I16 | SLE_VAR_I32, 0, 4),
SLE_CONDVAR(SignStruct,x, SLE_INT32, 5, 255),
SLE_CONDVAR(SignStruct,y, SLE_INT32, 5, 255),
-// SLE_CONDVAR(SignStruct,owner, SLE_INT32, 6, 255), // TODO: uncomment this after the savegame bump to version 6.0
+ SLE_CONDVAR(SignStruct,owner, SLE_INT32, 6, 255),
SLE_VAR(SignStruct,z, SLE_UINT8),
SLE_END()
};