Fixed charselect showing the wrong amount of characters on its list, version bump.
This commit is contained in:
parent
3f41ed1341
commit
bed38e0b7f
@ -274,7 +274,7 @@ private:
|
||||
|
||||
const int CCCC_RELEASE = 1;
|
||||
const int CCCC_MAJOR_VERSION = 4;
|
||||
const int CCCC_MINOR_VERSION = 0;
|
||||
const int CCCC_MINOR_VERSION = 1;
|
||||
|
||||
QString current_theme = "default";
|
||||
|
||||
|
@ -158,6 +158,8 @@ void Courtroom::put_button_in_place(int starting, int chars_on_this_page)
|
||||
char_columns = ((ui_char_buttons->width() - button_width) / (x_spacing + button_width)) + 1;
|
||||
char_rows = ((ui_char_buttons->height() - button_height) / (y_spacing + button_height)) + 1;
|
||||
|
||||
max_chars_on_page = char_columns * char_rows;
|
||||
|
||||
int startout = starting;
|
||||
for (int n = starting ; n < startout+chars_on_this_page ; ++n)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user