Ignore:
Timestamp:
May 16, 2011, 2:37:51 AM (8 years ago)
Author:
Sam Hocevar
Message:

game: prefix a few class members with m_ to avoid confusion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/sensor.cpp

    r555 r676  
    3333    if (player_list->next)                 // find closest player
    3434      b=current_level->attacker(current_object);
    35     else b=player_list->focus;
     35    else b=player_list->m_focus;
    3636    if (abs(b->x-o->x)<o->xvel() && abs(b->y-o->y)<o->yvel())  // inside area?
    3737    {
     
    4949      if (player_list->next)
    5050        b=current_level->attacker(current_object);
    51       else b=player_list->focus;
     51      else b=player_list->m_focus;
    5252      if (abs(o->x-b->x)>o->xacel() || abs(o->y-b->y)>o->yacel())
    5353        o->set_aistate(0);
Note: See TracChangeset for help on using the changeset viewer.