diff options
author | drumsetmonkey <abelleisle@roadrunner.com> | 2015-12-07 07:38:33 -0500 |
---|---|---|
committer | drumsetmonkey <abelleisle@roadrunner.com> | 2015-12-07 07:38:33 -0500 |
commit | b4ba0a553d93115adbd4e4b23736987de1d5dcba (patch) | |
tree | d59cd298a62e9fc25d2f3d4d562732886cfa8882 /src/entities.cpp | |
parent | 58ed33ed617396b4b4780d5b419392ae65d20e08 (diff) |
Fixed something
Diffstat (limited to 'src/entities.cpp')
-rw-r--r-- | src/entities.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities.cpp b/src/entities.cpp index f812919..c840b6e 100644 --- a/src/entities.cpp +++ b/src/entities.cpp @@ -205,7 +205,7 @@ void Entity::draw(void){ //draws the entities if(type == PLAYERT){ static int texState = 0; static bool up = true; - if(loops % (int)((float)2 / (float)speed) == 0){ + if(loops % (int)((float)4/(float)speed) == 0){ if(up){ texState+=1; if(texState==2)up=false; |