Admer456 / halflife-vs2019-sohl12

Spirit of Half-Life 1.2 merged with Solokiller's updated HL SDK. Status: inactive
Other
6 stars 5 forks source link

FuncTank function not working for player. #8

Closed hammermaps closed 3 years ago

hammermaps commented 3 years ago

I found an error, it is not possible to use the FuncTank function as a player.

Please try it out.

https://www.youtube.com/watch?v=tlu2MPPR9hw&feature=youtu.be

hammermaps commented 3 years ago

Update: I tried a version before my changes and found that the problem already existed. In the original Laurie Cheers SOHL 1.2, the problem does not exist. So there should have been a problem when porting to the new SDK.

Admer456 commented 3 years ago

Good catch! I suspect the problem is either in CBasePlayer::PlayerUse or one of CFuncTank methods. I'll work on it tomorrow, it'll be a pretty simple fix.

Admer456 commented 3 years ago

I think I might've fixed it. Expect it to be in one of the upcoming commits in the next 30 minutes.

Admer456 commented 3 years ago

Commit 4fc9288 should fix this issue.

hammermaps commented 3 years ago

I can confirm the fix.