Included proper variable initialization states for Monsters.

pull/28/head
sigonasr2 1 year ago
parent 0c6663a8bc
commit b6b9089422
  1. 2
      Crawler/Monster.cpp

@ -282,7 +282,7 @@ void Monster::Collision(Monster&m){
Collision();
}
void Monster::Collision(){
if(strategy==RUN_TOWARDS&&state==MOVE_TOWARDS){
if(strategy==RUN_TOWARDS&&state==MOVE_TOWARDS){
state=NORMAL;
}
}

Loading…
Cancel
Save