NCCA / SmallBlurryPeopleCVA3

CA2 Group project
4 stars 0 forks source link

Character Death Then Update Causes Virtual Troubles #26

Closed i7621149 closed 7 years ago

i7621149 commented 7 years ago

There's a crash to do with calling a pure virtual function at some point. Also the notification from an enemy dying comes up multiple times, probably once for each character attacking. The notification should probably come from the baddie class when it dies.

i7621149 commented 7 years ago

Maybe it's not enemies dying? It's definitely something to do with combat...

i7621149 commented 7 years ago

It's to do with character's dying, it seems to crash when it tries to update a character after a death? To do with calling a virtual update function...

RosieNEmery commented 7 years ago

I think I fixed it by changing the for loop in scene's update from auto to using int i =0, etc