Skip to content

Commit 80b70b4

Browse files
committed
fix(zc): hardcode 120 for zscript alpha register
This fixes some quests that only look at the alpha version and, seeing it was now 0 presented an error message to the user.
1 parent bb10855 commit 80b70b4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/zc/ffscript.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7790,9 +7790,8 @@ int32_t get_register(const int32_t arg)
77907790
}
77917791
case ZELDABETA:
77927792
{
7793-
ret = int32_t(ALPHA_VER*10000);
7794-
if(ZC_IS_NIGHTLY) //Nightly 111/112 should return '111.5' not '112'
7795-
ret -= 5000;
7793+
int ver = 120;
7794+
ret = int32_t(ver*10000);
77967795
break;
77977796
}
77987797
case GAMEDEATHS:

0 commit comments

Comments
 (0)