mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Data and Source v1.13 Mod High Resolution version from 2006-03-01
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@23 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -1667,6 +1667,7 @@ FLOAT CalculateObjectTrajectory( INT16 sTargetZ, OBJECTTYPE *pItem, vector_3 *vP
|
||||
{
|
||||
DebugMsg (TOPIC_JA2,DBG_LEVEL_3,"CalculateObjectTrajectory");
|
||||
INT32 iID;
|
||||
REAL_OBJECT *pObject;
|
||||
FLOAT dDiffX, dDiffY;
|
||||
INT16 sGridNo;
|
||||
//int cnt=0;
|
||||
@@ -1692,10 +1693,13 @@ FLOAT CalculateObjectTrajectory( INT16 sTargetZ, OBJECTTYPE *pItem, vector_3 *vP
|
||||
// Set some special values...
|
||||
pObject->fTestObject = TEST_OBJECT_NO_COLLISIONS;
|
||||
pObject->TestZTarget = sTargetZ;
|
||||
pObject->fTestPositionNotSet = TRUE;
|
||||
pObject->fVisible = FALSE;
|
||||
pObject->fVisible = FALSE;
|
||||
|
||||
// WANNE 2
|
||||
// Alrighty, move this beast until it dies....
|
||||
// Alrighty, move this beast until it dies....
|
||||
while( pObject->fAlive)
|
||||
{
|
||||
//cnt = cnt + 1;
|
||||
DebugMsg (TOPIC_JA2,DBG_LEVEL_3,"CalculateObjectTrajectory: calling SIMULATEobject - this object never fucking dies!!!!");
|
||||
//DebugMsg (TOPIC_JA2,DBG_LEVEL_3, String( "Counter: %d", cnt));
|
||||
|
||||
Reference in New Issue
Block a user