mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
Build crash fix
git-svn-id: https://svn.eduke32.com/eduke32@189 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
cc7e9897ed
commit
c48a55b4f9
3 changed files with 7 additions and 6 deletions
|
@ -555,10 +555,10 @@ void editinput(void)
|
||||||
osearchy = searchy;
|
osearchy = searchy;
|
||||||
searchx += mousx;
|
searchx += mousx;
|
||||||
searchy += mousy;
|
searchy += mousy;
|
||||||
if (searchx < 4) searchx = 4;
|
if (searchx < 8) searchx = 8;
|
||||||
if (searchy < 4) searchy = 4;
|
if (searchy < 8) searchy = 8;
|
||||||
if (searchx > xdim-5) searchx = xdim-5;
|
if (searchx > xdim-9) searchx = xdim-9;
|
||||||
if (searchy > ydim-5) searchy = ydim-5;
|
if (searchy > ydim-9) searchy = ydim-9;
|
||||||
}
|
}
|
||||||
|
|
||||||
showmouse();
|
showmouse();
|
||||||
|
|
|
@ -126,7 +126,7 @@ enum gamemodes {
|
||||||
};
|
};
|
||||||
|
|
||||||
#define MAXANIMWALLS 512
|
#define MAXANIMWALLS 512
|
||||||
#define MAXINTERPOLATIONS 8192
|
#define MAXINTERPOLATIONS MAXSPRITES
|
||||||
|
|
||||||
#define MAXQUOTES 16384
|
#define MAXQUOTES 16384
|
||||||
|
|
||||||
|
|
|
@ -4072,6 +4072,7 @@ VOLUME_ALL_40x:
|
||||||
else if(j == numplayers) {
|
else if(j == numplayers) {
|
||||||
Bmemset(votes,0,sizeof(votes));
|
Bmemset(votes,0,sizeof(votes));
|
||||||
Bmemset(gotvote,0,sizeof(gotvote));
|
Bmemset(gotvote,0,sizeof(gotvote));
|
||||||
|
voting = -1;
|
||||||
|
|
||||||
tempbuf[0] = 18;
|
tempbuf[0] = 18;
|
||||||
tempbuf[1] = 2;
|
tempbuf[1] = 2;
|
||||||
|
@ -4083,7 +4084,7 @@ VOLUME_ALL_40x:
|
||||||
if(c != myconnectindex) sendpacket(c,tempbuf,4);
|
if(c != myconnectindex) sendpacket(c,tempbuf,4);
|
||||||
if ((!networkmode) && (myconnectindex != connecthead)) break; //slaves in M/S mode only send to master
|
if ((!networkmode) && (myconnectindex != connecthead)) break; //slaves in M/S mode only send to master
|
||||||
}
|
}
|
||||||
voting = -1;
|
|
||||||
Bsprintf(fta_quotes[116],"VOTE FAILED");
|
Bsprintf(fta_quotes[116],"VOTE FAILED");
|
||||||
FTA(116,&ps[myconnectindex]);
|
FTA(116,&ps[myconnectindex]);
|
||||||
ps[myconnectindex].gm &= ~MODE_MENU;
|
ps[myconnectindex].gm &= ~MODE_MENU;
|
||||||
|
|
Loading…
Reference in a new issue