mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 07:38:36 +00:00
[Cleanup] Gender constants cleanup (#3817)
* [Cleanup] Gender constants cleanup # Notes - Convert to a `Gender` namespace using `constexpr`. - Cleanup spots where we were using magic numbers for gender values. * Cleanup
This commit is contained in:
+1
-1
@@ -510,7 +510,7 @@ void Trap::CreateHiddenTrigger()
|
||||
make_npc->runspeed = 0.0f;
|
||||
make_npc->bodytype = BT_Special;
|
||||
make_npc->race = 127;
|
||||
make_npc->gender = MALE;
|
||||
make_npc->gender = Gender::Male;
|
||||
make_npc->loottable_id = 0;
|
||||
make_npc->npc_spells_id = 0;
|
||||
make_npc->d_melee_texture1 = 0;
|
||||
|
||||
Reference in New Issue
Block a user