X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_enti.c;h=713187c6b0575312f367b2d4710bcbfce6584dcd;hb=4418da90a98a3a8fa1c306da33a35ca4338ea9c0;hp=7210e6d371d74375a771643205ff1a21da49cdd4;hpb=b0c0fabf3e7a284d2713e11b30015818f91097e4;p=16.git diff --git a/src/lib/16_enti.c b/src/lib/16_enti.c index 7210e6d3..713187c6 100755 --- a/src/lib/16_enti.c +++ b/src/lib/16_enti.c @@ -35,9 +35,9 @@ void EN_initentity(entity_t *enti, video_t *video) enti->d = 2;//dir var enti->pred = 4;//previous dir enti->hp = 4;//hit points - enti->speed = 4;//walkspeed + enti->spt = 4;//walkspeed enti->persist_aniframe = enti->q; - enti->spt=(TILEWH/(enti->speed)); //speed per tile wwww + enti->spt=(TILEWH/(enti->spt)); //speed per tile wwww enti->overdraww = 0; enti->overdrawh = 4;