Skip to content

Commit

Permalink
Fix tentacle height values being incorrect for Opposing Force
Browse files Browse the repository at this point in the history
  • Loading branch information
SamVanheer committed May 22, 2022
1 parent 9b2188a commit 86e5207
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions dlls/tentacle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -362,11 +362,11 @@ bool CTentacle::KeyValue(KeyValueData* pkvd)

int CTentacle::Level(float dz)
{
if (dz < 216)
if (dz < 96)
return 0;
if (dz < 408)
if (dz < 150)
return 1;
if (dz < 600)
if (dz < 288)
return 2;
return 3;
}
Expand All @@ -377,11 +377,11 @@ float CTentacle::MyHeight()
switch (MyLevel())
{
case 1:
return 256;
return 136;
case 2:
return 448;
return 190;
case 3:
return 640;
return 328;
}
return 0;
}
Expand Down

0 comments on commit 86e5207

Please sign in to comment.