Skip to content

Commit

Permalink
fix(zc): hardcode 120 for zscript alpha register
Browse files Browse the repository at this point in the history
This fixes some quests that only look at the alpha version and,
seeing it was now 0 presented an error message to the user.
  • Loading branch information
connorjclark committed Mar 31, 2024
1 parent bb10855 commit 80b70b4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/zc/ffscript.cpp
Expand Up @@ -7790,9 +7790,8 @@ int32_t get_register(const int32_t arg)
}
case ZELDABETA:
{
ret = int32_t(ALPHA_VER*10000);
if(ZC_IS_NIGHTLY) //Nightly 111/112 should return '111.5' not '112'
ret -= 5000;
int ver = 120;
ret = int32_t(ver*10000);
break;
}
case GAMEDEATHS:
Expand Down

0 comments on commit 80b70b4

Please sign in to comment.