diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-02 14:46:48 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-02 14:46:48 +0000 |
commit | a294e49ed9994902251b536ffba853f056453ddd (patch) | |
tree | 14574a1a26082ce24a4aa01df7a80b6dce88002b /src/graphic/graphic.cpp | |
parent | 13d5e9993dcbfd6a8790ae230950de9a4620932e (diff) | |
download | mana-a294e49ed9994902251b536ffba853f056453ddd.tar.gz mana-a294e49ed9994902251b536ffba853f056453ddd.tar.bz2 mana-a294e49ed9994902251b536ffba853f056453ddd.tar.xz mana-a294e49ed9994902251b536ffba853f056453ddd.zip |
Removed Allegro datafile graphic.dat
Diffstat (limited to 'src/graphic/graphic.cpp')
-rw-r--r-- | src/graphic/graphic.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp index b00f602f..7b29ea66 100644 --- a/src/graphic/graphic.cpp +++ b/src/graphic/graphic.cpp @@ -163,8 +163,6 @@ GraphicEngine::GraphicEngine() { guiTop->add(chatInput); - chatInput->requestFocus(); - // Create dialogs statusWindow = new StatusWindow(guiTop); @@ -192,6 +190,10 @@ GraphicEngine::GraphicEngine() { skill_player = init_dialog(skill_dialog, -1); skill_list_player = init_dialog(skill_list_dialog, -1); + // Give focus to the chat input + chatInput->requestFocus(); + + // SDL probably doesn't need this buffer, it'll buffer for us. buffer = create_bitmap(SCREEN_W, SCREEN_H); if (!buffer) { error("Not enough memory to create buffer"); |