summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinclude/game.h6
-rw-r--r--src/koopatlas/core.cpp6
2 files changed, 6 insertions, 6 deletions
diff --git a/include/game.h b/include/game.h
index 0cbc0c3..15178f7 100755
--- a/include/game.h
+++ b/include/game.h
@@ -72,9 +72,9 @@ extern int Player_Coins[4];
struct StartLevelInfo {
int maybeUnused;
- unsigned char unk1; // 0x04
- unsigned char unk2; // 0x05
- unsigned char unk3; // 0x06
+ unsigned char replayTypeMaybe; // 0x04
+ unsigned char entrance; // 0x05
+ unsigned char areaMaybe; // 0x06
unsigned char unk4; // 0x07
unsigned int purpose; // 0x08
unsigned char world1; // 0x0C
diff --git a/src/koopatlas/core.cpp b/src/koopatlas/core.cpp
index e4e3c07..f7622f6 100644
--- a/src/koopatlas/core.cpp
+++ b/src/koopatlas/core.cpp
@@ -1021,9 +1021,9 @@ void dScKoopatlas_c::executeState_SaveError() { }
void dScKoopatlas_c::startLevel(dLevelInfo_c::entry_s *entry) {
StartLevelInfo sl;
- sl.unk1 = 0;
- sl.unk2 = 0xFF;
- sl.unk3 = 0;
+ sl.replayTypeMaybe = 0;
+ sl.entrance = 0xFF;
+ sl.areaMaybe = 0;
sl.unk4 = 0;
sl.purpose = 0;