X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Feditor.c;h=91a51ea49e2880f66ff5af4f805cbd29010fbee2;hb=7e877b61328d9460698d993069e33d9e4a5b54b8;hp=8b736677d7e4ba234059be692a4c3be627f06a53;hpb=84f2d2359ecfa6253804b353f92dd9b2ccb55887;p=rocksndiamonds.git diff --git a/src/editor.c b/src/editor.c index 8b736677..91a51ea4 100644 --- a/src/editor.c +++ b/src/editor.c @@ -5561,9 +5561,8 @@ static void MapControlButtons() /* map buttons to select level */ counter_id = ED_COUNTER_ID_SELECT_LEVEL; - ModifyEditorCounterLimits(counter_id, - leveldir_current->first_level, - leveldir_current->last_level); + counterbutton_info[counter_id].min_value = leveldir_current->first_level; + counterbutton_info[counter_id].max_value = leveldir_current->last_level; MapCounterButtons(counter_id); }