Browse Source

Revert "Switched back `NewCursor` to the original name `j_SetCursor`"

This reverts commit 4c93cca082.
NewCursor was the actual name, j_<function> are just remaining
reversing names
pull/4/head
Dennis Duda 8 years ago
parent
commit
b6baa965bb
  1. 2
      Source/cursor.cpp
  2. 2
      Source/cursor.h
  3. 4
      Source/spells.cpp

2
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);
}

2
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();

4
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 )
{

Loading…
Cancel
Save