mirror of
https://github.com/TombEngine/TombEngine.git
synced 2025-05-06 19:01:06 +03:00
Fixed release mode
- updated AlterFloorHeight() - fixed chunkreader.h that used "ChunkReader::" in this own class. - fixed ChunkId::FromString() not const for str. - fixed some renderer wrong return value that caused error. - fixed the debug mode not using the correct directx library ! - updated project include and libs required in release mode. - fixed Sound_CheckBASSError() not const for message. - fixed compileXXShader not const for the path. - reverted GetFloor() change.
This commit is contained in:
parent
3296db8dce
commit
4b6ffedf5e
9 changed files with 101 additions and 152 deletions
|
@ -1240,9 +1240,9 @@ int CreatureVault(short itemNum, short angle, int vault, int shift)
|
|||
|
||||
void GetAITarget(CREATURE_INFO* creature)
|
||||
{
|
||||
#define GET_REACHED_GOAL abs(enemy->pos.xPos - item->pos.xPos) < REACHED_GOAL_RADIUS &&\
|
||||
abs(enemy->pos.zPos - item->pos.zPos) < REACHED_GOAL_RADIUS &&\
|
||||
abs(enemy->pos.yPos - item->pos.yPos) < REACHED_GOAL_RADIUS
|
||||
#define GET_REACHED_GOAL abs(enemy->pos.xPos - item->pos.xPos) < REACHED_GOAL_RADIUS &&\
|
||||
abs(enemy->pos.zPos - item->pos.zPos) < REACHED_GOAL_RADIUS &&\
|
||||
abs(enemy->pos.yPos - item->pos.yPos) < REACHED_GOAL_RADIUS
|
||||
|
||||
ITEM_INFO* enemy;
|
||||
ITEM_INFO* item;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue