summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2004-11-27 16:07:46 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2004-11-27 16:07:46 +0000
commitb448fb04a0ba6029d785ea6a5a1f604ea918c957 (patch)
treeb4de9d09fcc3a46b5cf29646ce607a72296bfa75
parentc2c1b493b04efc78ecefa8f8266cc0c5610ff256 (diff)
downloadmana-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.dev2
-rw-r--r--src/graphic/graphic.cpp3
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