Warzone 2100

Changeset 6191

Show
Ignore:
Timestamp:
10/19/08 03:30:23 (9 months ago)
Author:
buginator
Message:

backport r6132
"Since return/enter key was remapped to enable chat mode, we didn't remove this keypress from the input stream when we would save games. This resulted in the chat mode being enabled when a user saves their game"

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/2.1/src/loadsave.c

    r5575 r6191  
    3131#include "lib/framework/frame.h" 
    3232#include "lib/framework/strres.h" 
     33#include "lib/framework/input.h" 
    3334#include "lib/framework/input.h" 
    3435#include "lib/widget/button.h" 
     
    360361        } 
    361362        widgReleaseScreen(psRequestScreen); 
    362  
     363        // need to "eat" up the return key so it don't pass back to game. 
     364        inputLooseFocus(); 
    363365        return true; 
    364366}