♻️ Replace 'cursmx' and 'cursmy' globals with single 'cursPosition'
This commit is contained in:
parent
05d206720a
commit
01823e1324
14 changed files with 180 additions and 264 deletions
|
|
@ -544,7 +544,7 @@ void GetDebugMonster()
|
|||
{
|
||||
int mi1 = pcursmonst;
|
||||
if (mi1 == -1) {
|
||||
int mi2 = dMonster[cursmx][cursmy];
|
||||
int mi2 = dMonster[cursPosition.x][cursPosition.y];
|
||||
if (mi2 != 0) {
|
||||
mi1 = mi2 - 1;
|
||||
if (mi2 <= 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue