25% of double nades, mouse filter tool (thanks to Franz) and ripping the easy access to kick/ban menu

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5023 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Rafael Barreto
2010-05-23 21:40:44 +00:00
parent f575a50797
commit d50f37b4ea
5 changed files with 15 additions and 3 deletions
+3 -1
View File
@@ -646,6 +646,7 @@ void checkinput()
{
SDL_Event event;
int lasttype = 0, lastbut = 0;
int tdx=0,tdy=0;
while(events.length() || SDL_PollEvent(&event))
{
if(events.length()) event = events.remove(0);
@@ -684,7 +685,7 @@ void checkinput()
int dx = event.motion.xrel, dy = event.motion.yrel;
checkmousemotion(dx, dy);
resetmousemotion();
mousemove(dx, dy);
tdx+=dx;tdy+=dy;
}
break;
@@ -697,6 +698,7 @@ void checkinput()
break;
}
}
mousemove(tdx, tdy);
}
VARF(gamespeed, 10, 100, 1000, if(multiplayer()) gamespeed = 100);