Changed: #847 downcast works in 64b. it's not a problem to use only the low half of the pointer since Seed is only used for randomize.
This commit is contained in:
parent
3e981beab8
commit
70231edd30
1 changed files with 1 additions and 1 deletions
|
@ -690,7 +690,7 @@ void CBotNpc::sendVPA() // alternate VPA
|
||||||
visProp.Element.ColorBoot = getSheet()->ColorFeets();
|
visProp.Element.ColorBoot = getSheet()->ColorFeets();
|
||||||
visProp.Element.ColorArm = getSheet()->ColorArms();
|
visProp.Element.ColorArm = getSheet()->ColorArms();
|
||||||
visProp.Element.Hat = _Hat;
|
visProp.Element.Hat = _Hat;
|
||||||
visProp.Element.Seed = getAlias()!=0?getAlias():(uint32)this;
|
visProp.Element.Seed = getAlias()!=0?getAlias():(uint32)(size_t)(void*)this;
|
||||||
LOG("BOT: %s L: %d R: %u H: %u CHEAD: %u CARMS: %u CHANDS: %u CBODY: %u CLEGS: %u CFEETS: %u SEED: %u",
|
LOG("BOT: %s L: %d R: %u H: %u CHEAD: %u CARMS: %u CHANDS: %u CBODY: %u CLEGS: %u CFEETS: %u SEED: %u",
|
||||||
getName().c_str(),
|
getName().c_str(),
|
||||||
visProp.Element.WeaponLeftHand,
|
visProp.Element.WeaponLeftHand,
|
||||||
|
|
Loading…
Reference in a new issue