Ignore:
Timestamp:
Apr 17, 2011, 10:28:20 AM (11 years ago)
Author:
Sam Hocevar
Message:

lisp: populate LispSymbol? with symbol-related methods.

File:
1 edited

Legend:

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

    r481 r484  
    169169
    170170  the_game->load_level(tname);
    171   initial_difficulty=l_difficulty;
     171  initial_difficulty = l_difficulty;
    172172
    173173  switch (diff)
    174174  {
    175     case 0 :
    176     { set_symbol_value(l_difficulty,l_easy); } break;
    177     case 1 :
    178     { set_symbol_value(l_difficulty,l_medium); } break;
    179     case 2 :
    180     { set_symbol_value(l_difficulty,l_hard); } break;
    181     case 3 :
    182     { set_symbol_value(l_difficulty,l_extreme); } break;
     175    case 0: l_difficulty->SetValue(l_easy); break;
     176    case 1: l_difficulty->SetValue(l_medium); break;
     177    case 2: l_difficulty->SetValue(l_hard); break;
     178    case 3: l_difficulty->SetValue(l_extreme); break;
    183179  }
    184180
     
    207203*/
    208204      delete record_file;
    209       l_difficulty=initial_difficulty;
     205      l_difficulty = initial_difficulty;
    210206      the_game->set_state(MENU_STATE);
    211207      wm->push_event(new event(ID_NULL,NULL));
Note: See TracChangeset for help on using the changeset viewer.