mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-28 15:26:12 +00:00
Fix assignment-instead-of-compare bug in AGOSEngine::menuFor_e2
svn-id: r24363
This commit is contained in:
parent
744cfc14af
commit
ef4e68a8f5
@ -125,7 +125,7 @@ void AGOSEngine::drawMenuStrip(uint windowNum, uint menuNum) {
|
||||
|
||||
// Elvira 2 specific
|
||||
uint AGOSEngine::menuFor_e2(Item *item, uint id) {
|
||||
if (id = 0 || id == 2462 || id == 2480)
|
||||
if (id == 0 || id == 2462 || id == 2480)
|
||||
return 0xFFFF;
|
||||
|
||||
SubObject *subObject = (SubObject *)findChildOfType(item, 2);
|
||||
|
Loading…
x
Reference in New Issue
Block a user