From 3514f4405c2a822be2350fed27fe2d15cad7152c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 Feb 2019 07:18:05 +0300 Subject: Change type for class variables from short to int --- src/map/map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/map.h') diff --git a/src/map/map.h b/src/map/map.h index d31ff4839..d96733f90 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -518,7 +518,7 @@ struct block_list { // Mob List Held in memory for Dynamic Mobs [Wizputer] // Expanded to specify all mob-related spawn data by [Skotlex] struct spawn_data { - short class_; ///< Class, used because a mob can change it's class + int class_; ///< Class, used because a mob can change it's class unsigned short m, x, y; ///< Spawn information (map, point, spawn-area around point) signed short xs, ys; unsigned short num; ///< Number of mobs using this structure -- cgit v1.2.3-70-g09d2 From dbaa9ac111496fdfde9948d5cb15a0b052843b3f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 5 Feb 2019 20:12:16 +0300 Subject: Change job field in struct questinfo from int to job --- src/map/map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/map.h') diff --git a/src/map/map.h b/src/map/map.h index d96733f90..ace2a35a1 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -800,7 +800,7 @@ struct questinfo { unsigned short icon; unsigned char color; bool hasJob; - unsigned short job;/* perhaps a mapid mask would be most flexible? */ + unsigned int job;/* perhaps a mapid mask would be most flexible? */ bool sex_enabled; int sex; struct { -- cgit v1.2.3-70-g09d2