aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/graphics.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-08-04 21:56:59 +0000
committerFilippos Karapetis2009-08-04 21:56:59 +0000
commit4af0cfbdbdc9feafca2728cee8deca7ae9b472b1 (patch)
tree52f6e7649f640d3715d1d5425f8e31b16f2293dd /engines/drascula/graphics.cpp
parentd14f0ccfb51d44e36a8508be7e7795306b785ed8 (diff)
downloadscummvm-rg350-4af0cfbdbdc9feafca2728cee8deca7ae9b472b1.tar.gz
scummvm-rg350-4af0cfbdbdc9feafca2728cee8deca7ae9b472b1.tar.bz2
scummvm-rg350-4af0cfbdbdc9feafca2728cee8deca7ae9b472b1.zip
Cleanup
svn-id: r43056
Diffstat (limited to 'engines/drascula/graphics.cpp')
-rw-r--r--engines/drascula/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/drascula/graphics.cpp b/engines/drascula/graphics.cpp
index e6c5f69235..74b9e131e3 100644
--- a/engines/drascula/graphics.cpp
+++ b/engines/drascula/graphics.cpp
@@ -48,7 +48,7 @@ void DrasculaEngine::allocMemory() {
assert(tableSurface);
extraSurface = (byte *)malloc(64000);
assert(extraSurface);
- crosshairCursor = (byte *)malloc(40 * 25);
+ crosshairCursor = (byte *)malloc(OBJWIDTH * OBJHEIGHT);
assert(crosshairCursor);
mouseCursor = (byte *)malloc(OBJWIDTH * OBJHEIGHT);
assert(mouseCursor);