Changeset 729 for trunk


Ignore:
Timestamp:
Mar 8, 2011, 11:52:25 PM (11 years ago)
Author:
sam
Message:

core: fix uninitialised WorldEntity members.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/worldentity.cpp

    r686 r729  
    2727WorldEntity::WorldEntity()
    2828{
     29    position = 0;
     30    rotation = 0;
     31    velocity = 0;
     32    bbox[0] = bbox[1] = 0;
     33
     34    mousepos = 0;
     35    mousebuttons = 0;
     36    pressed = 0;
     37    clicked = 0;
     38    released = 0;
    2939}
    3040
Note: See TracChangeset for help on using the changeset viewer.