Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FIX uninitialized actor state ! sometimes bullets did not appear

  • Loading branch information...
commit 742a00b633b274105a3024d3c34ed56383521f1e 1 parent 1fb5f1f
@PowerKiKi authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  application/source/Actor.cpp
View
2  application/source/Actor.cpp
@@ -10,7 +10,7 @@ namespace Polukili
{
/*************************************************/
Actor::Actor(Level* level)
- : level(level), body(0), sprite(0), powerFactor(1)
+ : level(level), body(0), sprite(0), state(normal), powerFactor(1)
{
Console::log(LOG_INFO, "Actor::Actor() - new actor");
this->level->actors.push_back(this);
Please sign in to comment.
Something went wrong with that request. Please try again.