Browse Source

Merge pull request #1024 from AJenbo/AddTrap

Clean up AddTrap
pull/287/head^2
Robin Eklind 7 years ago committed by GitHub
parent
commit
f6707c19a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      Source/objects.cpp

3
Source/objects.cpp

@ -1431,7 +1431,8 @@ void AddTrap(int i, int t)
{
int mt;
mt = random(148, 1 + currlevel / 3);
mt = currlevel / 3 + 1;
mt = random(148, mt);
if (mt == 0)
object[i]._oVar3 = 0; // arrow
if (mt == 1)

Loading…
Cancel
Save