mirror of
https://github.com/minetest/minetest.git
synced 2025-03-20 01:02:33 +01:00
Fix possible NULL pointer access in MobV2CAO
This commit is contained in:
@ -993,6 +993,8 @@ void MobV2CAO::updateNodePos()
|
||||
void MobV2CAO::step(float dtime, ClientEnvironment *env)
|
||||
{
|
||||
scene::MyBillboardSceneNode *bill = m_node;
|
||||
if(!bill)
|
||||
return;
|
||||
|
||||
pos_translator.translate(dtime);
|
||||
|
||||
|
Reference in New Issue
Block a user