Ignore:
Timestamp:
Mar 18, 2008, 9:36:56 PM (15 years ago)
Author:
Sam Hocevar
Message:
  • Get rid of ugly tabs and trailing spaces everywhere.
File:
1 edited

Legend:

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

    r56 r124  
    2424
    2525void controlled_character::note_hp_change(int new_hp, game_object *who)
    26 { 
    27   if (cur_char==who) 
    28     the_game->set_hit_points(hp); 
     26{
     27  if (cur_char==who)
     28    the_game->set_hit_points(hp);
    2929}
    3030
     
    3434/*  switch (char_type)
    3535  {
    36     case CHAR_HUMAN : my_figure=human_figure; curbreak;   
     36    case CHAR_HUMAN : my_figure=human_figure; curbreak;
    3737    case CHAR_IGUANA : my_figure=iguana_figure; break;
    3838    default : CONDITION(0,"change_character, bad character type\n");
     
    4040  cur_char=char_type;
    4141  set_state(stopped);
    42  
     42
    4343  the_game->change_logos(abilities,cur_char);*/
    44  
    45 } 
     44
     45}
    4646
    4747
    48    
     48
    4949
    5050controlled_character::controlled_character(game_object *who)
    5151{
    5252  cur_char=who;
    53   abilities=0; 
     53  abilities=0;
    5454  morphing_to=-1;
    5555}
     
    6060  int button,c_x,c_y;
    6161  the_game->get_movement(button,c_x,c_y);
    62   cur_char->move(c_x,c_y,button); 
     62  cur_char->move(c_x,c_y,button);
    6363  return 1;
    6464}
Note: See TracChangeset for help on using the changeset viewer.