Guest User

Untitled

a guest
Nov 7th, 2011
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. diff --git a/KAIK.cpp b/KAIK.cpp
  2. index c6c2fa0..edafaa3 100644
  3. --- a/KAIK.cpp
  4. +++ b/KAIK.cpp
  5. @@ -121,6 +121,7 @@ void CKAIK::UnitDestroyed(int unitID, int attackerUnitID) {
  6. void CKAIK::UnitIdle(int unitID) {
  7. if (ai->Initialized()) {
  8. if (ai->GetUnit(unitID)->isDead) {
  9. + printf("UnitIdle dead unit!!!!\n");
  10. return;
  11. }
  12.  
  13. @@ -149,6 +150,7 @@ void CKAIK::UnitIdle(int unitID) {
  14. void CKAIK::UnitDamaged(int unitID, int attackerID, float damage, float3 dir) {
  15. if (ai->Initialized()) {
  16. if (ai->GetUnit(unitID)->isDead) {
  17. + printf("UnitDamaged dead unit!!!!\n");
  18. return;
  19. }
  20.  
  21.  
  22.  
Advertisement
Add Comment
Please, Sign In to add comment