Remove a few TODO notes that look obsolete

This commit is contained in:
2024-08-27 09:18:42 -04:00
parent 392f43ec89
commit 8cc8f5e2b7
3 changed files with 3 additions and 4 deletions

View File

@@ -432,7 +432,6 @@ void cTextField::handleInput(cKey key) {
selectionPoint = ++insertionPoint;
} else switch(key.k) {
case key_enter: break; // Shouldn't be receiving this anyway
// TODO: Implement all the other special keys
case key_left: case key_word_left:
if(current_action) history.add(current_action), current_action.reset();
if(haveSelection && !select) {

View File

@@ -797,7 +797,7 @@ void handle_equip_item(short item_hit, bool& need_redraw) {
}
if(overall_mode == MODE_USE_TOWN) {
// TODO: Uh, this looks wrong somehow.
// This handles someone pressing the "Use Space" button and then clicking on an item.
add_string_to_buf("Note: Clicking 'U' button by item uses the item.", 2);
use_item(stat_window, item_hit);
overall_mode = MODE_TOWN;
@@ -3294,4 +3294,4 @@ void handle_rename_pc() {
pick_pc_name(choice,nullptr);
put_pc_screen();
put_item_screen(stat_window);
}
}

View File

@@ -46,7 +46,7 @@ void cPopulation::assign(size_t n, const cTownperson& other, const cMonster& bas
static_cast<cTownperson&>(dudes[n]) = other;
static_cast<cMonster&>(dudes[n]) = base;
// Now set up extra stuff
dudes[n].active = eCreatureStatus::IDLE; // TODO: Is this right?
dudes[n].active = eCreatureStatus::IDLE;
if(dudes[n].invisible) dudes[n].picture_num = 0;
dudes[n].m_health /= easy ? 2 : 1;
dudes[n].m_health *= difficulty_adjust;