mooege/mooege — Issue #153: GameAttributes bugs
Author: xsochor
Created: 2011-10-10 14:41:21+00:00
State: open

1. float type GameAttributes are returning wrong field in GameAttributeMap.cs
this prevents from manipulating attributes client<->server (currently getting value > 1.0e9)

public float this[GameAttributeF attribute]
{
get { return GetAttributeValue(attribute, null).ValueF; } // NOT .Value
set { SetAttributeValue(attribute, null, new GameAttributeValue(value)); }
}

2. with recent switch to uint in Actor IDs, all GameAttributes dealing with them are now wrongly encoded (still encoded as ints)

(any tips on generating suitable diffs for patching?)