X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2F16_enti.c;h=6d8fd2d37efb2449ca93e7937d155cb0a6c2a8ae;hb=a565be31ce92d6168ae6983042da75b0b683e52b;hp=7210e6d371d74375a771643205ff1a21da49cdd4;hpb=b0c0fabf3e7a284d2713e11b30015818f91097e4;p=16.git diff --git a/src/lib/16_enti.c b/src/lib/16_enti.c index 7210e6d3..6d8fd2d3 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-2019 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;