Skip to content
Browse files

M302de: constify SCENARIO_BUF and use it

  • Loading branch information...
1 parent 6fd1f28 commit 9cbae6d27a5f8f76a6485cb2178ddd5ec01996f6 @Henne committed
Showing with 2 additions and 1 deletion.
  1. +1 −1 src/custom/schick/rewrite_m302de/seg027.cpp
  2. +1 −0 src/custom/schick/rewrite_m302de/v302de.h
View
2 src/custom/schick/rewrite_m302de/seg027.cpp
@@ -504,7 +504,7 @@ void load_scenario(signed short nr)
seg002_0c72(fd, (n - 1) * 621 + 2);
/* read scenario */
- read_archive_file(fd, Real2Host(ds_readd(0xbd2c)), 621);
+ read_archive_file(fd, Real2Host(ds_readd(SCENARIO_BUF)), 621);
/* close archive */
bc_close(fd);
View
1 src/custom/schick/rewrite_m302de/v302de.h
@@ -43,6 +43,7 @@
#define FNAMES (0x4c8c)
#define AUTOFIGHT_MAGIC (0x5f31) /* ?8 */
#define AF_SPELL_LIST (0x5fac) /* char[11] */
+#define SCENARIO_BUF (0xbd2c)
#define HEROS (0xbd34)
#define DIALOG_TEXT (0xc3b1)
#define CITY_LTX (0xc3ad)

0 comments on commit 9cbae6d

Please sign in to comment.
Something went wrong with that request. Please try again.