Browse Source

AddObjTraps: cleanup condition.

pull/88/head
Sergey Semushin 7 years ago committed by Anders Jenbo
parent
commit
c8183bd9bc
  1. 2
      Source/objects.cpp

2
Source/objects.cpp

@ -765,7 +765,7 @@ void AddObjTraps()
continue;
oi = dObject[i][j] - 1;
if (AllObjects[object[oi]._otype].oTrapFlag == FALSE)
if (!AllObjects[object[oi]._otype].oTrapFlag)
continue;
if (random(144, 2) == 0) {

Loading…
Cancel
Save