diff --git a/yendor.cpp b/yendor.cpp index 03a12f66..ba1bb117 100644 --- a/yendor.cpp +++ b/yendor.cpp @@ -1053,7 +1053,7 @@ EX void load_mode_data_with_zero(hstream& f) { case 3: { use_custom_land_list = true; int lt = f.get(); - if(lt > landtypes) throw hstream_exception(); + if(lt > landtypes) throw hstream_exception("too many landtypes"); for(int i=0; i(); custom_land_treasure[i] = f.get(); @@ -1079,7 +1079,7 @@ EX void load_mode_data_with_zero(hstream& f) { vid.creature_scale = f.get(); default: - throw hstream_exception(); + throw hstream_exception("wrong option"); } } }