Issue information

Issue ID
#462
Status
Fixed
Severity
None
Started
Hercules Elf Bot
Nov 21, 2007 8:11
Last Post
Hercules Elf Bot
Nov 21, 2007 8:11
Confirmation
N/A

Hercules Elf Bot - Nov 21, 2007 8:11

Originally posted by [b]theultramage[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=462

When inspecting the server state at runtime, it's possible to see that players' bl object has subtype 'WARP'.
I think this is due to the lack of any 'NONE' or 'PLAYER' subtype, and that players don't have this thing set (=> set to 0 which is WARP).

On a related note, mobs/pets/homuns are of subtype 'MONS'. Might be interesting to change that to 'MONSTER'.

Alternatively, one might notice that the MONS subtype isn't referenced anywhere and can be removed. Also, notice that the remaining types are "WARP, SHOP, SCRIPT". In other words, types related to that one union inside the NPC structure. Wouldn't it make more sense to place this inside the npc structure?