mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Improvement for r9018: code uses enums and includes two more cursor states for both knife and punch cursor which were still not showing circles (by Shadooow).
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@9019 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+1
-1
@@ -1892,7 +1892,7 @@ void UpdateAnimatedCursorFrames( UINT32 uiCursorIndex )
|
||||
pCurImage = &( pCurData->Composites[ cnt ] );
|
||||
// Flugente: now using enums instead of hardcoded values
|
||||
//CHRISL: NCTH uses a completely different cursor so if we're in NCTH mode, we want to use different graphics
|
||||
if (UsingNewCTHSystem() == true && uiCursorIndex != 25 && uiCursorIndex != 26 && uiCursorIndex != 28 && uiCursorIndex != 39 && uiCursorIndex != 40 && uiCursorIndex != 42)
|
||||
if (UsingNewCTHSystem() == true && !(uiCursorIndex >= CURSOR_PUNCHRED_ON1 && uiCursorIndex <= CURSOR_PUNCHNOGO_ON2) && !(uiCursorIndex >= CURSOR_KNIFE_HIT_ON1 && uiCursorIndex <= CURSOR_KNIFE_NOGO_ON2))
|
||||
{
|
||||
switch(pCurImage->uiFileIndex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user