mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-29 17:38:16 +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:
@@ -413,6 +413,7 @@ public:
|
||||
|
||||
bool shouldreturntopausemenu;
|
||||
void returntopausemenu();
|
||||
void unlockAchievement(const char *name);
|
||||
|
||||
bool disablepause;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user