1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-20 15:40:26 +00:00

crystal:: animates correctly

This commit is contained in:
Zeno Rogue 2018-12-01 23:53:50 +01:00
parent 683b235d55
commit d506c73571
2 changed files with 4 additions and 0 deletions

View File

@ -1298,6 +1298,9 @@ namespace rug {
rugpoint *addRugpoint(hyperpoint h, double dist);
void buildRug();
bool in_crystal();
void physics();
extern renderbuffer *glbuf;
extern eGeometry gwhere;
extern bool no_fog;

View File

@ -267,6 +267,7 @@ void saveHighQualityShot(const char *fname, const char *caption, int fade) {
if(rug::rugged) {
if(!rug::renderonce) rug::prepareTexture();
glbuf.enable();
if(rug::in_crystal()) rug::physics();
rug::drawRugScene();
}
else