Skip to content
This repository has been archived by the owner on Sep 4, 2022. It is now read-only.

Classname/sound fields get reused for both aimtarget/observer name and weaponclass check, causing issues with HUD lines #170

Open
FlaminSarge opened this issue Nov 24, 2021 · 1 comment

Comments

@FlaminSarge
Copy link

The above classname field gets reused for both the aimtarget name and the weapon classname, and so you end up with e.g. 'tf_weapon_rocketlauncher's Damage: 40' in the HUD instead of the actual target's name. Either the classname should be set to "" if observer==0, or separate string fields should be used for weapon classname vs aimtargetname.

The same occurs for the 'sound' field elsewhere in this file.

@MAGNAT2645
Copy link
Contributor

MAGNAT2645 commented Nov 24, 2021

So that's why this is happening. I have already reported this bug somewhere in the issues, but could not find a solution to fix it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants