Skip to content

Commit

Permalink
fix crash bug #112
Browse files Browse the repository at this point in the history
reopen #87
closes #112

ghost relaunch of 0.0.3
  • Loading branch information
peonso committed Nov 18, 2016
1 parent 6e79087 commit ce07a37
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
Binary file modified othire_win32.exe
Binary file not shown.
4 changes: 2 additions & 2 deletions source/definitions.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#ifndef __OTSERV_DEFINITIONS_H__
#define __OTSERV_DEFINITIONS_H__

#define OTSERV_VERSION "1.0"
#define OTSERV_VERSION "0.0.3"
#define OTSERV_NAME "OTHire"
#define OTSERV_CLIENT_VERSION "7.72"

Expand Down Expand Up @@ -131,7 +131,7 @@ enum passwordType_t{
#define _MBCS
#endif
#ifdef _UNICODE
#undef _UNICODE
#undef _UNICODE
#endif
#ifdef UNICODE
#undef UNICODE
Expand Down
6 changes: 0 additions & 6 deletions source/game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4052,12 +4052,6 @@ bool Game::combatChangeHealth(CombatType_t combatType, MagicEffectClasses custom
addAnimatedText(list, targetPos, textColor, ss.str());
}

if(target->getHealth() <= 0){
if(target->getMonster()){
target->onDie();
}
}

}
}
}
Expand Down

0 comments on commit ce07a37

Please sign in to comment.