Use enums instead of magic values

This commit is contained in:
Pasi Kallinen
2020-11-15 19:31:22 +02:00
parent 560d324a2f
commit d6384f4061
7 changed files with 29 additions and 29 deletions

View File

@@ -614,7 +614,7 @@ u_init()
u.udg_cnt = 0;
u.mh = u.mhmax = u.mtimedone = 0;
u.uz.dnum = u.uz0.dnum = 0;
u.utotype = 0;
u.utotype = UTOTYPE_NONE;
#endif /* 0 */
u.uz.dlevel = 1;