]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Skeleton.cpp
convert Game class to namespace
[lugaru.git] / Source / Skeleton.cpp
index 5b28f738f4ac8cfcea8429e8fb0d8d5366e27271..b338724bf0a529062597b42eb61771eb7eb17f28 100644 (file)
@@ -43,7 +43,6 @@ extern int tutoriallevel;
 extern int whichjointstartarray[26];
 extern int whichjointendarray[26];
 
-extern Game * pgame;
 extern bool visibleloading;
 
 void dealloc2(void* param){
@@ -835,7 +834,7 @@ void Animation::Load(const char *filename, int aheight, int aattack)
        height=aheight;
        attack=aattack;
 
-       if(visibleloading)pgame->LoadingScreen();
+       if(visibleloading) Game::LoadingScreen();
 
        tfile=fopen( fixedFN, "rb" );
        if(tfile){