Warzone 2100

Changeset 6132

Show
Ignore:
Timestamp:
10/11/08 21:17:59 (9 months ago)
Author:
buginator
Message:

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
  • trunk/src/loadsave.c

    r5176 r6132  
    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}