diff options
author | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-11-27 16:07:46 +0000 |
---|---|---|
committer | Eugenio Favalli <elvenprogrammer@gmail.com> | 2004-11-27 16:07:46 +0000 |
commit | b448fb04a0ba6029d785ea6a5a1f604ea918c957 (patch) | |
tree | b4de9d09fcc3a46b5cf29646ce607a72296bfa75 | |
parent | c2c1b493b04efc78ecefa8f8266cc0c5610ff256 (diff) | |
download | mana-client-b448fb04a0ba6029d785ea6a5a1f604ea918c957.tar.gz mana-client-b448fb04a0ba6029d785ea6a5a1f604ea918c957.tar.bz2 mana-client-b448fb04a0ba6029d785ea6a5a1f604ea918c957.tar.xz mana-client-b448fb04a0ba6029d785ea6a5a1f604ea918c957.zip |
Auto detect keyboard WIN32
-rw-r--r-- | The Mana World.dev | 2 | ||||
-rw-r--r-- | src/graphic/graphic.cpp | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/The Mana World.dev b/The Mana World.dev index 94f5be06..53935646 100644 --- a/The Mana World.dev +++ b/The Mana World.dev @@ -33,7 +33,7 @@ CompilerSettings=0000001001001000001101 Major=0 Minor=0 Release=8 -Build=322 +Build=323 LanguageID=1033 CharsetID=1252 CompanyName=The Mana World Development Team diff --git a/src/graphic/graphic.cpp b/src/graphic/graphic.cpp index 397a37d2..812eb615 100644 --- a/src/graphic/graphic.cpp +++ b/src/graphic/graphic.cpp @@ -179,8 +179,9 @@ int get_y_offset(NODE *node) { BITMAP *load_graphic_file(char *filename) { BITMAP *temp = load_bitmap(filename, NULL); if(!temp)error(filename); + BITMAP *vbmp; #ifdef WIN32 - BITMAP *vbmp = create_video_bitmap(temp->w, temp->h); + vbmp = create_video_bitmap(temp->w, temp->h); if(!vbmp) { warning("Not enough video memory"); #endif |