From: Mario Date: Fri, 24 Apr 2015 12:11:50 +0000 (+1000) Subject: Few more floats to ints for arrays X-Git-Tag: xonotic-v0.8.1~71 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=66e6d7e7678cb288c16bbf90658093aeb6c59881;p=xonotic%2Fxonotic-data.pk3dir.git Few more floats to ints for arrays --- diff --git a/qcsrc/menu/xonotic/campaign.qc b/qcsrc/menu/xonotic/campaign.qc index 885c89183..16967a688 100644 --- a/qcsrc/menu/xonotic/campaign.qc +++ b/qcsrc/menu/xonotic/campaign.qc @@ -50,8 +50,9 @@ string campaign_longdesc_wrapped[CAMPAIGN_MAX_ENTRIES]; void rewrapCampaign(float w, float l0, float emptyheight, vector theFontSize) { - float i, j; - float n, l; + int i, j; + int n; + float l; string r, s; for(i = 0; i < campaign_entries; ++i) { @@ -236,7 +237,7 @@ void XonoticCampaignList_doubleClickListBoxItem(entity me, float i, vector where { CampaignList_LoadMap(me, me); } -void XonoticCampaignList_drawListBoxItem(entity me, float i, vector absSize, float isSelected) +void XonoticCampaignList_drawListBoxItem(entity me, int i, vector absSize, bool isSelected) { string s; vector theColor;