mirror of
https://github.com/edubart/otclient.git
synced 2025-11-03 12:16:23 +01:00
Move "getNPC" that was introduced in commit
00729bbc2e
from Spawn to CreatureType
I didn't have a closer look at how his code was structured, what he
basically did
is that he set all creatures in a spawn as NPC's even if it's a monster
which is
so erroneous.
Highlights:
- Add branch prediction macros
- Minor code style fixes & some others
Hopefully the branch prediction thing will speed up OTB since it's
awfully slow.
This commit is contained in:
@@ -254,3 +254,5 @@ private:
|
||||
extern Map g_map;
|
||||
|
||||
#endif
|
||||
|
||||
/* vim: set ts=4 sw=4 et: */
|
||||
|
||||
Reference in New Issue
Block a user