Ignore:
Timestamp:
Jan 27, 2012, 9:05:03 AM (10 years ago)
Author:
sam
Message:

math: try to implement the magic getter/setter pattern. BREAKS BUILD.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/input.cpp

    r1135 r1136  
    135135        if (data->entities[n] == top)
    136136        {
    137             data->entities[n]->mousepos = coord - (ivec2)top->bbox[0].xy();
     137            data->entities[n]->mousepos = coord - (ivec2)top->bbox[0].xy;
    138138            if (top != data->lastfocus)
    139139                data->entities[n]->pressed = data->buttons;
Note: See TracChangeset for help on using the changeset viewer.