mirror of
https://github.com/diasurgical/devilution.git
synced 2026-06-20 05:46:12 +00:00
Clean up AddTrap
This commit is contained in:
+2
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user