NTUT-FUCK-PTSD / Fuck-PTSD

This is a repo about rewriting the game `crypt of the necrodancer` in OOP Lab
MIT License
3 stars 2 forks source link

Fix animation and z-index update in GreenSlime::Update() #102

Closed HeavenManySugar closed 6 months ago

HeavenManySugar commented 6 months ago

This pull request fixes the animation and z-index update issue in the GreenSlime::Update() function. The animation was not updating properly and the z-index was not being set correctly. The issue has been resolved by adding a call to m_Animation->UpdateAnimation(true) to update the animation and setting the z-index using the SetZIndex() function.