prevent accidental message submission, thanks SKB

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@7330 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2013-03-09 22:11:45 +00:00
parent d015af0cd2
commit cf6f3dfb94
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ survNumBots = 6
survBotsToAdd = 1
timeBetChkPts = 60000
timeUntilTele = 90000
survMaxBots = 32
survMaxBots = 20
spamSurvMsgs = 0
nonSurvDefaults = 0
survDamageEffects = 1
+3
View File
@@ -549,6 +549,9 @@ void consolekey(int code, bool isdown, int cooked)
{
if(code==SDLK_RETURN || code==SDLK_KP_ENTER || code==SDL_AC_BUTTON_LEFT || code==SDL_AC_BUTTON_MIDDLE)
{
// make laptop users happy; LMB shall only work with history
if(code == SDL_AC_BUTTON_LEFT && histpos == history.length()) return;
hline *h = NULL;
if(cmdline.buf[0])
{