Permalink
Browse files

FIX uninitialized actor state ! sometimes bullets did not appear

  • Loading branch information...
1 parent 1fb5f1f commit 742a00b633b274105a3024d3c34ed56383521f1e @PowerKiKi committed Jun 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 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);

0 comments on commit 742a00b

Please sign in to comment.