Changeset 3187

Show
Ignore:
Timestamp:
02/28/2010 02:53:13 PM (6 months ago)
Author:
jackpoz
Message:

should fix
Conditional jump or move depends on uninitialized value(s)
at 0x824CC70: Object::SetFloatValue?(unsigned int, float) (Object.cpp:1226)
by 0x81952EB: GameObject::CreateFromProto?(...) (GameObject?.h:329)
by 0x819545F: GameObject::Load(GOSpawn*) (GameObject?.cpp:447)

Location:
trunk/src/arcemu-world
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/arcemu-world/Level2.cpp

    r3171 r3187  
    846846        gs->flags = go->GetUInt32Value(GAMEOBJECT_FLAGS); 
    847847        gs->id = objmgr.GenerateGameObjectSpawnID(); 
    848 //      gs->o = go->GetFloatValue(GAMEOBJECT_ROTATION); 
     848        gs->o = 0.0f; 
    849849        gs->o1 = go->GetParentRotation(0); 
    850850        gs->o2 = go->GetParentRotation(2); 
  • trunk/src/arcemu-world/MapMgr.cpp

    r3150 r3187  
    17931793        gs->flags = go->GetUInt32Value(GAMEOBJECT_FLAGS); 
    17941794        gs->id = objmgr.GenerateGameObjectSpawnID(); 
    1795 //      gs->o = go->GetFloatValue(GAMEOBJECT_ROTATION); 
     1795        gs->o = 0.0f; 
    17961796        gs->o1 = go->GetParentRotation(0); 
    17971797        gs->o2 = go->GetParentRotation(2);