Author Topic: Guild names not showing for no-guild clients (+ fix)  (Read 453 times)

Krogar

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Guild names not showing for no-guild clients (+ fix)
« on: January 08, 2005, 01:39:41 am »
This is another simple one.
The problem: Guild names are not being shown at all for players who are not in a guild.

Here\'s the one-liner diff fix (for src/client/entitylabels.cpp , -r1.42):
Code: [Select]

269c269
<         if ( guild.Length() &&  guild2.Length() )
---
>         if ( guild.Length() )


guild2 (the client\'s guild) is only used for comparison (with guild) in the code below, but the csString class handles the comparison of zero-length strings correctly, so removing a length check should not cause any troubles.

edit: This is obsolete now - it\'s been fixed already in the latest cvs rev. 1.43. It seems the fix was committed even before I posted, so I\'d assume the non-dev checkout delay is >6 hours sometimes ;)
« Last Edit: January 09, 2005, 06:57:37 pm by Krogar »