Ignore:
Timestamp:
May 16, 2011, 2:37:51 AM (11 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/ant.cpp

    r668 r676  
    173173    if (player_list->next)
    174174      b=current_level->attacker(current_object);
    175     else b=player_list->focus;
     175    else b=player_list->m_focus;
    176176    if (abs(b->x-o->x)<130 && (o->y<b->y))
    177177      fall=1;
     
    205205      if (player_list->next)
    206206        b=current_level->attacker(current_object);
    207       else b=player_list->focus;
     207      else b=player_list->m_focus;
    208208      if (abs(b->x-o->x)<130 && (o->y<b->y))
    209209      fall=1;
     
    224224      if (player_list->next)
    225225      b=current_level->attacker(current_object);
    226       else b=player_list->focus;
     226      else b=player_list->m_focus;
    227227
    228228      scream_check(o,b);
     
    258258      if (player_list->next)
    259259      b=current_level->attacker(current_object);
    260       else b=player_list->focus;
     260      else b=player_list->m_focus;
    261261      scream_check(o,b);
    262262
     
    350350        if (player_list->next)
    351351        b=current_level->attacker(current_object);
    352         else b=player_list->focus;
     352        else b=player_list->m_focus;
    353353        fire_at_player(o,b);
    354354        o->set_state(stopped);
     
    386386      if (player_list->next)
    387387      b=current_level->attacker(current_object);
    388       else b=player_list->focus;
     388      else b=player_list->m_focus;
    389389      scream_check(o,b);
    390390      if (((jrand()%8)==0 && abs(o->x-b->x)<10 && o->y<b->y) ||
     
    425425    if (player_list->next)
    426426      b=current_level->attacker(current_object);
    427     else b=player_list->focus;
     427    else b=player_list->m_focus;
    428428    fire_at_player(o,b);
    429429    o->set_state((character_state)S_top_walk);
Note: See TracChangeset for help on using the changeset viewer.