mirror of
https://github.com/halpz/re3.git
synced 2024-12-25 18:05:27 +00:00
fix
This commit is contained in:
parent
a67d4c70d7
commit
35874b5fd2
|
@ -77,7 +77,7 @@ public:
|
||||||
static void Remove(CEntity *entity);
|
static void Remove(CEntity *entity);
|
||||||
static void Add(CEntity *entity);
|
static void Add(CEntity *entity);
|
||||||
|
|
||||||
static CSector *GetSector(int x, int y) { if (x > NUMSECTORS_X || y > NUMSECTORS_Y) return &ms_aSectors[0][0]; return &ms_aSectors[y][x]; }
|
static CSector *GetSector(int x, int y) { if (x > NUMSECTORS_X - 1 || y > NUMSECTORS_Y - 1) return &ms_aSectors[0][0]; return &ms_aSectors[y][x]; }
|
||||||
static CPtrList &GetBigBuildingList(eLevelName i) { return ms_bigBuildingsList[i]; }
|
static CPtrList &GetBigBuildingList(eLevelName i) { return ms_bigBuildingsList[i]; }
|
||||||
static CPtrList &GetMovingEntityList(void) { return ms_listMovingEntityPtrs; }
|
static CPtrList &GetMovingEntityList(void) { return ms_listMovingEntityPtrs; }
|
||||||
static uint16 GetCurrentScanCode(void) { return ms_nCurrentScanCode; }
|
static uint16 GetCurrentScanCode(void) { return ms_nCurrentScanCode; }
|
||||||
|
|
Loading…
Reference in a new issue