Fixed a generator bug

This commit is contained in:
Tiger Wang
2014-01-24 23:56:19 +00:00
parent b367a74d3e
commit 1112f5adc6
2 changed files with 9 additions and 1 deletions
+3
View File
@@ -249,6 +249,9 @@ void cMonster::Tick(float a_Dt, cChunk & a_Chunk)
return;
}
if ((m_Target != NULL) && m_Target->IsDestroyed())
m_Target = NULL;
// Burning in daylight
HandleDaylightBurning(a_Chunk);