changed tile direction to a string, rather than a hard to understand int.

develop
Japa 2015-01-19 19:58:09 +05:30
parent 3e91d34ab3
commit 8efac385cc
2 changed files with 2 additions and 2 deletions

@ -93,7 +93,7 @@ message Tiletype
optional TiletypeSpecial special = 5;
optional TiletypeMaterial material = 6;
optional TiletypeVariant variant = 7;
optional uint32 direction = 8;
optional string direction = 8;
};
message TiletypeList

@ -658,7 +658,7 @@ static command_result GetTiletypeList(color_ostream &stream, const EmptyMessage
type->set_special(TranslateSpecial(tileSpecial(tt)));
type->set_material(TranslateMaterial(tileMaterial(tt)));
type->set_variant(TranslateVariant(tileVariant(tt)));
type->set_direction(tileDirection(tt).whole);
type->set_direction(tileDirection(tt).getStr());
count++;
}
return CR_OK;