]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Fix campaign entries getting cut when a new level is unlocked (forgotten change)
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 28 Sep 2010 13:35:45 +0000 (16:35 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 28 Sep 2010 13:35:45 +0000 (16:35 +0300)
data/qcsrc/menu/voret/campaign.c

index 4beadfefb02c6187aa184b3062ec2f5b3da9378a..0cd52c41809de713990809a991d0d605c9719778 100644 (file)
@@ -125,7 +125,7 @@ void loadCvarsVoretCampaignList(entity me)
        me.campaignIndex = bound(0, cvar(me.cvarName), campaign_entries);\r
        cvar_set(me.cvarName, ftos(me.campaignIndex));\r
        if(me.columnNameSize)\r
-               rewrapCampaign(me.columnNameSize, me.rowsPerItem - 3, me.emptyLineHeight, me.realFontSize);\r
+               rewrapCampaign(me.columnNameSize, me.rowsPerItem - 2, me.emptyLineHeight, me.realFontSize);\r
        me.nItems = min(me.campaignIndex + 2, campaign_entries);\r
        me.selectedItem = min(me.campaignIndex, me.nItems - 1);\r
        me.scrollPos = me.nItems * me.itemHeight - 1;\r