X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FGameTick.cpp;h=0a6d464d221d1e551ce1cc7cfdb6617d8f506acf;hb=617a36f729718c59c2f886fd4a1d145388e7c8bc;hp=476b5aaaa996a0bedb32f7a911e10e62e4b39988;hpb=4692ec6888b3a2eb166fd1693cb583d2c53e346c;p=lugaru.git diff --git a/Source/GameTick.cpp b/Source/GameTick.cpp index 476b5aa..0a6d464 100644 --- a/Source/GameTick.cpp +++ b/Source/GameTick.cpp @@ -48,7 +48,6 @@ extern XYZ viewer; extern int environment; extern float texscale; extern Terrain terrain; -extern OPENAL_SAMPLE *samp[100]; extern int channels[100]; extern int kTextureSize; extern float screenwidth,screenheight; @@ -1629,7 +1628,7 @@ void Game::Loadlevel(char *name){ won=0; //campaign=0; - animation[bounceidleanim].Load((char *)":Data:Animations:Idle",middleheight,neutral); + animation[bounceidleanim].Load((char *)"Idle",middleheight,neutral); numdialogues=0; @@ -2195,7 +2194,7 @@ void Game::Loadlevel(char *name){ player[i].proportionlegs.z=0; } - player[i].tempanimation.Load((char *)":Data:Animations:Tempanim",0,0); + player[i].tempanimation.Load((char *)"Tempanim",0,0); player[i].headmorphness=0; player[i].targetheadmorphness=1; @@ -5101,7 +5100,7 @@ void Game::Tick() player[numplayers].proportionlegs.z=0; } - player[numplayers].tempanimation.Load((char *)":Data:Animations:Tempanim",0,0); + player[numplayers].tempanimation.Load((char *)"Tempanim",0,0); player[numplayers].damagetolerance=200;