summaryrefslogtreecommitdiff
path: root/csrc/main.c
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-09-03 21:11:42 +0800
committerIru Cai <mytbk920423@gmail.com>2018-09-03 21:11:42 +0800
commit78577e759ae0f0d775e850557cee19c9041346d7 (patch)
tree5b537469bb8c4445fa2e850141f59eec8993d5f8 /csrc/main.c
parent40437b955bb7fccb3ec6480982cad5b79670b6bd (diff)
downloadrich4-78577e759ae0f0d775e850557cee19c9041346d7.tar.xz
main.c: init_new_game
Diffstat (limited to 'csrc/main.c')
-rw-r--r--csrc/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/csrc/main.c b/csrc/main.c
index d1458ce..22345f2 100644
--- a/csrc/main.c
+++ b/csrc/main.c
@@ -1,4 +1,5 @@
#include <windows.h>
+#include <ddraw.h>
#include "global.h"
HINSTANCE ghInstance; // 48a064
@@ -118,7 +119,7 @@ L401cb3:
w_4991b6 = 1;
// fallthrough
case 0:
- if (fcn_00406de7((int)b_46cafc)==0)
+ if (init_new_game((int)b_46cafc)==0)
goto case_401de8_0;
fcn_00401543();
fcn_00407ad2();