mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-28 20:37:40 +00:00
fixed potential crashes when setting fontsize to a too large value
This commit is contained in:
2
hud.cpp
2
hud.cpp
@@ -518,7 +518,7 @@ EX void drawStats() {
|
||||
rows = 0;
|
||||
while((buttonsize = minsize - vid.killreduction)) {
|
||||
columns = colspace / buttonsize;
|
||||
rows = rowspace / buttonsize;
|
||||
rows = rowspace / buttonsize; if(!rows) return;
|
||||
int coltaken = 0;
|
||||
for(int z=0; z<4; z++) {
|
||||
if(z == 2 && !portrait) {
|
||||
|
||||
Reference in New Issue
Block a user