aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dialog.cpp
diff options
context:
space:
mode:
authorStrangerke2016-07-25 18:57:10 +0200
committerBendegúz Nagy2016-08-26 23:02:22 +0200
commit42f7f17c099312e45457432d68fc7e5424ed7ff5 (patch)
tree9687d8bddfae4567868188d2363dd6bb74e0654b /engines/dm/dialog.cpp
parente0219fd6f7f53c926ba8272b41ad9d00590d40ce (diff)
downloadscummvm-rg350-42f7f17c099312e45457432d68fc7e5424ed7ff5.tar.gz
scummvm-rg350-42f7f17c099312e45457432d68fc7e5424ed7ff5.tar.bz2
scummvm-rg350-42f7f17c099312e45457432d68fc7e5424ed7ff5.zip
DM: Fix compilation on MSVC9
Diffstat (limited to 'engines/dm/dialog.cpp')
-rw-r--r--engines/dm/dialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/dm/dialog.cpp b/engines/dm/dialog.cpp
index d9408fc37e..71ff8dcf93 100644
--- a/engines/dm/dialog.cpp
+++ b/engines/dm/dialog.cpp
@@ -36,11 +36,11 @@ namespace DM {
DialogMan::DialogMan(DMEngine* vm) : _vm(vm) {}
void DialogMan::f427_dialogDraw(char* msg1, char* msg2, char* choice1, char* choice2, char* choice3, char* choice4, bool screenDialog, bool clearScreen, bool fading) {
- static Box K0068_s_Box1 = {0, 223, 101, 125};
- static Box K0069_s_Box2 = {0, 223, 76, 100};
- static Box K0070_s_Box3 = {0, 223, 51, 75};
- static Box G0469_s_Graphic561_Box_Dialog2ChoicesPatch = {102, 122, 89, 125};
- static Box G0470_s_Graphic561_Box_Dialog4ChoicesPatch = {102, 122, 62, 97};
+ static Box K0068_s_Box1 = Box(0, 223, 101, 125);
+ static Box K0069_s_Box2 = Box(0, 223, 76, 100);
+ static Box K0070_s_Box3 = Box(0, 223, 51, 75);
+ static Box G0469_s_Graphic561_Box_Dialog2ChoicesPatch = Box(102, 122, 89, 125);
+ static Box G0470_s_Graphic561_Box_Dialog4ChoicesPatch = Box(102, 122, 62, 97);
int16 L1308_i_X;
int16 L1309_i_Y;