comparison Mouse.cpp @ 2217:744ed51880ed

expand button
author Ritor1
date Sat, 15 Feb 2014 22:00:13 +0600
parents 3f375342de12
children e8f9a06c7bcb
comparison
equal deleted inserted replaced
2216:3f375342de12 2217:744ed51880ed
52 //----- (00469903) -------------------------------------------------------- 52 //----- (00469903) --------------------------------------------------------
53 void Mouse::SetCursorBitmap(const char *pName) 53 void Mouse::SetCursorBitmap(const char *pName)
54 { 54 {
55 if ( !this->bInitialized || !pName ) 55 if ( !this->bInitialized || !pName )
56 return; 56 return;
57 if ( _stricmp("MICON2", pName) ) 57 if ( _stricmp("MICON2", pName) )//если кусор не мишень
58 pGame->uFlags2 &= 0xFFFFFFEFu; 58 pGame->uFlags2 &= 0xFFFFFFEFu;
59 else 59 else
60 pGame->uFlags2 |= 0x10; 60 pGame->uFlags2 |= 0x10;
61 if ( _stricmp(this->pCurrentCursorName, pName) ) 61 if ( _stricmp(this->pCurrentCursorName, pName) )
62 strcpy(this->pCurrentCursorName, pName); 62 strcpy(this->pCurrentCursorName, pName);