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:
+3
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user