X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_enti.c;h=eb9fa1a36afb311a22f6ae1ae32b1d811a78560a;hb=6021fc3f27b895d382fbd30488ead35657e39196;hp=7210e6d371d74375a771643205ff1a21da49cdd4;hpb=b0c0fabf3e7a284d2713e11b30015818f91097e4;p=16.git diff --git a/src/lib/16_enti.c b/src/lib/16_enti.c index 7210e6d3..eb9fa1a3 100755 --- a/src/lib/16_enti.c +++ b/src/lib/16_enti.c @@ -1,5 +1,5 @@ /* Project 16 Source Code~ - * Copyright (C) 2012-2017 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover + * Copyright (C) 2012-2018 sparky4 & pngwen & andrius4669 & joncampbell123 & yakui-lover * * This file is part of Project 16. * @@ -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;