mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 21:35:37 +00:00
restore an assert which got accidently removed
This commit is contained in:
parent
188ab6dcbd
commit
a0a28f897e
@ -41,7 +41,8 @@ terrain_type::terrain_type(const config& cfg)
|
||||
|
||||
name_ = cfg["name"];
|
||||
id_ = cfg["id"];
|
||||
number_ = t_translation::read_letter(cfg["string"]);
|
||||
number_ = t_translation::read_letter(cfg["string"]);
|
||||
wassert(number_ != t_translation::NONE_TERRAIN);
|
||||
|
||||
mvt_type_.push_back(number_);
|
||||
def_type_.push_back(number_);
|
||||
|
Loading…
x
Reference in New Issue
Block a user