mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-11-26 07:14:20 +03:00
Fix #380
Achievements could be unlocked in custom levels/make and play, so this adds the wrapper function `game.unlockAchievement` which calls `NETWORK_unlockAchievement` if `map.custommode` is false. Also, this function and `Game::unlocknum` have both been `ifdef`ed to be empty if MAKEANDPLAY is defined.
This commit is contained in:
1 parent
c8b4c0f1e7
commit
06e5eb38d9
4 files changed
+47
-38
No files matched your search
@@ -413,6 +413,7 @@ public:
|
||||
|
||||
bool shouldreturntopausemenu;
|
||||
void returntopausemenu();
|
||||
void unlockAchievement(const char *name);
|
||||
|
||||
bool disablepause;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user