Changeset 7236 for code/branches/consolecommands3/src/libraries/network
- Timestamp:
- Aug 28, 2010, 1:51:04 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/network/Host.cc
r7219 r7236 40 40 static const std::string __CC_printRTT_name = "printRTT"; 41 41 42 _SetConsoleCommand("chat", &Host::Chat);43 _SetConsoleCommand(__CC_printRTT_name, &Host::printRTT);42 SetConsoleCommand("chat", &Host::Chat); 43 SetConsoleCommand(__CC_printRTT_name, &Host::printRTT); 44 44 45 45 // Host* Host::instance_=0; … … 55 55 // assert(instance_==0); 56 56 instances_s.push_back(this); 57 _ModifyConsoleCommand(__CC_printRTT_name).setObject(this);57 ModifyConsoleCommand(__CC_printRTT_name).setObject(this); 58 58 this->bIsActive_ = false; 59 59 } … … 67 67 assert( std::find( instances_s.begin(), instances_s.end(), this )!=instances_s.end() ); 68 68 instances_s.erase(std::find( instances_s.begin(), instances_s.end(), this )); 69 _ModifyConsoleCommand(__CC_printRTT_name).setObject(0);69 ModifyConsoleCommand(__CC_printRTT_name).setObject(0); 70 70 } 71 71
Note: See TracChangeset
for help on using the changeset viewer.