From b6baa965bb7983efbbe005ea2d87ef79421f4c85 Mon Sep 17 00:00:00 2001 From: Dennis Duda Date: Tue, 28 Aug 2018 00:00:25 +0200 Subject: [PATCH] Revert "Switched back `NewCursor` to the original name `j_SetCursor`" This reverts commit 4c93cca0826ba1e1781e01af159b102c7acc96f0. NewCursor was the actual name, j_ are just remaining reversing names --- Source/cursor.cpp | 2 +- Source/cursor.h | 2 +- Source/spells.cpp | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/cursor.cpp b/Source/cursor.cpp index 0afc84bc0..f405d7e6b 100644 --- a/Source/cursor.cpp +++ b/Source/cursor.cpp @@ -429,7 +429,7 @@ void __fastcall SetCursor(int i) } // 4B8C9C: using guessed type int cursH; -void __fastcall j_SetCursor(int i) { +void __fastcall NewCursor(int i) { SetCursor(i); } diff --git a/Source/cursor.h b/Source/cursor.h index 452b95d01..7542dede3 100644 --- a/Source/cursor.h +++ b/Source/cursor.h @@ -23,7 +23,7 @@ void __cdecl InitCursor(); void __cdecl FreeCursor(); void __fastcall SetICursor(int i); void __fastcall SetCursor(int i); -void __fastcall j_SetCursor(int i); +void __fastcall NewCursor(int i); void __cdecl InitLevelCursor(); void __cdecl CheckTown(); void __cdecl CheckRportal(); diff --git a/Source/spells.cpp b/Source/spells.cpp index 7111d20cc..46f762ac8 100644 --- a/Source/spells.cpp +++ b/Source/spells.cpp @@ -222,7 +222,7 @@ void __fastcall DoResurrect(int pnum, int rid) AddMissile(plr[rid].WorldX, plr[rid].WorldY, plr[rid].WorldX, plr[rid].WorldY, 0, MIS_RESURRECTBEAM, 0, pnum, 0, 0); if ( pnum == myplr ) - j_SetCursor(CURSOR_HAND); + NewCursor(CURSOR_HAND); if ( (_BYTE)rid != LOBYTE(-1) && plr[rid]._pHitPoints == 0 ) { @@ -314,7 +314,7 @@ void __fastcall DoHealOther(int pnum, int rid) int j; if ( pnum == myplr ) - j_SetCursor(CURSOR_HAND); + NewCursor(CURSOR_HAND); if ( (_BYTE)rid != LOBYTE(-1) && (plr[rid]._pHitPoints >> 6) > 0 ) {