Opened 8 years ago

Closed 7 years ago

#1707 closed change (fixed (in master))

Refactor get_obj_num_by_kind

Reported by: daniel.santos Owned by: takkaria
Milestone: 3.5.0 Keywords:


There's no need for two separate loops here and the cost of indirection
by addnig the byte *objects variable will most likely not affect the
speed of the actual loops. This change will reduce text size.

Attachments (1)

0002-Refactor-messy-monster-energy-calculation.txt (4.3 KB) - added by daniel.santos 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by daniel.santos

comment:1 Changed 7 years ago by takkaria

Hi Daniel - this patch isn't for get_obj_num, it's one for the monster code. Do you still have the patch for this bug?

comment:2 Changed 7 years ago by takkaria

  • Milestone changed from Triage to 3.5.0

comment:3 Changed 7 years ago by takkaria

  • Owner set to takkaria
  • Status changed from new to assigned

comment:4 Changed 7 years ago by takkaria

  • Resolution set to fixed (in master)
  • Status changed from assigned to closed

Ah, I found the patch on #1693. Merged (c13274d), with thanks.

Note: See TracTickets for help on using tickets.