Browse Source

Fixed AIState.
_listener pointer was not initialized.

Darryl Gough 13 years ago
parent
commit
c79426b91a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gameplay/src/AIState.cpp

+ 1 - 1
gameplay/src/AIState.cpp

@@ -8,7 +8,7 @@ namespace gameplay
 AIState AIState::_empty("");
 
 AIState::AIState(const char* id)
-    : _id(id)
+    : _id(id), _listener(NULL)
 {
 }