mirror of
https://github.com/1dot13/source.git
synced 2026-09-02 14:36:06 +02:00
Implemented SoldierID type to replace SOLDIERTYPE->ubID
Goal is to convert all use of SOLDIERTYPE->ubID and any other ID fields that reference the same ID to a safer type than UINT16. Same with any function that's supposed to take ubID
This commit is contained in:
@@ -1103,7 +1103,7 @@ public:
|
||||
// properly until it is all fixed and the files updated.
|
||||
public:
|
||||
// ID
|
||||
UINT16 ubID;
|
||||
SoldierID ubID;
|
||||
CHAR16 name[ 10 ];
|
||||
|
||||
INT16 GetMaxDistanceVisible(INT32 sGridNo = -1, INT8 bLevel = -1, int calcAsType = -1);
|
||||
|
||||
Reference in New Issue
Block a user